Skip to content

Commit

Permalink
Slight workaround for h5py not being fully numpy2-compliant yet.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmjarvis committed Jun 24, 2024
1 parent 519eb41 commit ba30ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treecorr/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ def read_array(self, shape, *, ext=None):
"""
g = self._group(ext)
data = np.empty(shape)
data[:] = g['data']
data[:] = np.asarray(g['data'])
return data

def row_count(self, col, *, ext=None):
Expand Down

0 comments on commit ba30ad5

Please sign in to comment.