Skip to content

Commit

Permalink
Update pyOEcore.py
Browse files Browse the repository at this point in the history
change np-float to np.float64
  • Loading branch information
VerWol authored and maahn committed Oct 9, 2023
1 parent dc4de8f commit cbb8253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyOptimalEstimation/pyOEcore.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit cbb8253

Please sign in to comment.