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: