Skip to content

Commit

Permalink
np.product->np.prod
Browse files Browse the repository at this point in the history
  • Loading branch information
bobmyhill committed Nov 7, 2023
1 parent 6f0ad0f commit 700193f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion burnman/tools/equilibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ def equilibrate(
updated_params = True

# Finally, make dimensions of sol_array equal the input dimensions
if np.product(sol_array.shape) > 1:
if np.prod(sol_array.shape) > 1:
sol_array = np.squeeze(sol_array)
else:
sol_array = sol_array.flatten()[0]
Expand Down

0 comments on commit 700193f

Please sign in to comment.