Skip to content

Commit

Permalink
Merge pull request #62 from jjhelmus/np_prod
Browse files Browse the repository at this point in the history
Remove use of deprecated product function from numpy
  • Loading branch information
jjhelmus authored Oct 29, 2024
2 parents 7801a56 + c185406 commit b6d2a89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion pyfive/dataobjects.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def unpack_attribute(self, offset):

# read in the dataspace information
shape, maxshape = determine_data_shape(self.msg_data, offset)
items = int(np.product(shape))
items = int(np.prod(shape))
offset += _padded_size(attr_dict['dataspace_size'], padding_multiple)

# read in the value(s)
Expand Down

0 comments on commit b6d2a89

Please sign in to comment.