Skip to content

Commit

Permalink
Merge pull request #115 from iguinn/nested_vov
Browse files Browse the repository at this point in the history
Fixed bug in reading nested vectors of vectors
  • Loading branch information
iguinn authored Nov 25, 2024
2 parents 0c68c60 + f34474e commit 94cb680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lgdo/lh5/_serializers/read/vector_of_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def _h5_read_vector_of_vectors(
# grow fd_buf if necessary to hold the data
fdb_size = fd_buf_start + fd_n_rows
if len(fd_buf) < fdb_size:
fd_buf.nda.resize(fdb_size, refcheck=False)
fd_buf.resize(fdb_size)

# now read
h5o = h5py.h5o.open(h5g, b"flattened_data")
Expand Down

0 comments on commit 94cb680

Please sign in to comment.