Skip to content

Commit a2dd968

Browse files
replace np.Inf with np.inf (see issue DrTimothyAldenDavis#897)
1 parent 5b1e403 commit a2dd968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SPEX/Python/SPEXpy/cholesky_backslash.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def cholesky_backslash( A, b, options=Options('double', 'amd')):
3333
A.tocsc()
3434
## Check symmetry
3535
tol=1e-8
36-
if linalg.norm(A-A.T, np.Inf) > tol:
36+
if linalg.norm(A-A.T, np.inf) > tol:
3737
raise SPEX_error(determine_error(-4))
3838
# Check input shape
3939
if A.shape[1]!=b.shape[0]:

0 commit comments

Comments
 (0)