From 8017cf230206f431f3faffe3602cbec06956ff76 Mon Sep 17 00:00:00 2001 From: bn Date: Wed, 13 Nov 2024 22:36:38 +0100 Subject: [PATCH] Change deprecited `np.object` into `object`. --- eastereig/charpol.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eastereig/charpol.py b/eastereig/charpol.py index 6da7537..6c7af9d 100755 --- a/eastereig/charpol.py +++ b/eastereig/charpol.py @@ -630,9 +630,9 @@ def _jacobian_utils(self): self._dlda_prod = np.cumprod(DA, 0) # Create Coefficients used nu_i derivatives - self._der_coef = np.empty((N, N), dtype=np.object) - self._da_slice = np.empty((N, N), dtype=np.object) - self._da_shape = np.empty((N, N), dtype=np.object) + self._der_coef = np.empty((N, N), dtype=object) + self._da_slice = np.empty((N, N), dtype=object) + self._da_shape = np.empty((N, N), dtype=object) # Loop of the derivative of P, fill J raws for row in range(0, N): # loop over the nu variables, fill column