From cbb8253c875405557ac7f79b0bd07939853f3dd3 Mon Sep 17 00:00:00 2001 From: VerWol <62898105+VerWol@users.noreply.github.com> Date: Mon, 9 Oct 2023 10:38:15 +0200 Subject: [PATCH] Update pyOEcore.py change np-float to np.float64 --- pyOptimalEstimation/pyOEcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyOptimalEstimation/pyOEcore.py b/pyOptimalEstimation/pyOEcore.py index 6ac5594..589ffd6 100644 --- a/pyOptimalEstimation/pyOEcore.py +++ b/pyOptimalEstimation/pyOEcore.py @@ -1477,7 +1477,7 @@ def invertMatrix(A, raise_error=True): try: eps = np.finfo(A.dtype).eps except: - A = A.astype(np.float) + A = A.astype(np.float64) eps = np.finfo(A.dtype).eps if np.linalg.cond(A) > 1/eps: