Skip to content

Commit

Permalink
fix for numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesulf committed Sep 30, 2024
1 parent 554d68d commit f4765e1
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 f4765e1

Please sign in to comment.