From 700193fcfab387bc3776ca12b971244ff5e9651e Mon Sep 17 00:00:00 2001 From: Bob Myhill Date: Tue, 7 Nov 2023 22:19:43 +0000 Subject: [PATCH] np.product->np.prod --- burnman/tools/equilibration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/burnman/tools/equilibration.py b/burnman/tools/equilibration.py index 8726bb85..ec55330a 100644 --- a/burnman/tools/equilibration.py +++ b/burnman/tools/equilibration.py @@ -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]