Skip to content

Commit

Permalink
Merge pull request #349 from johannesulf/numpyv2
Browse files Browse the repository at this point in the history
fix for numpy 2.0
  • Loading branch information
bd-j authored Sep 30, 2024
2 parents 554d68d + f4765e1 commit 1f3914e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prospect/plotting/corner.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def corner(samples, paxes, weights=None, span=None, smooth=0.02,
:returns paxes:
"""
assert samples.ndim > 1
assert np.product(samples.shape[1:]) > samples.shape[0]
assert np.prod(samples.shape[1:]) > samples.shape[0]
ndim = len(samples)

# Determine plotting bounds.
Expand Down

0 comments on commit 1f3914e

Please sign in to comment.