Skip to content

Commit

Permalink
Minor bugfix: newer Python versions do not support list(...) == list(…
Browse files Browse the repository at this point in the history
…...)
  • Loading branch information
tdegeus committed Jun 29, 2022
1 parent 29163b6 commit a503928
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GooseHDF5/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ def _equal_value(a, b):
else:
return False

return list(a[...]) == list(b[...])
return np.all(np.array(list(a[...])) == np.array(list(b[...])))


def _equal(a, b, attrs, matching_dtype):
Expand Down

0 comments on commit a503928

Please sign in to comment.