Skip to content

Commit c62eab6

Browse files
committed
fix warning message
1 parent 8ef072a commit c62eab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydiso/mkl_solver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ def _validate_csr_matrix(self, mat):
295295

296296
if mat.format != 'csr':
297297
warnings.warn(
298-
"Converting %s matrix to CSR format."% A.__class__.__name__,
298+
"Converting %s matrix to CSR format."% mat.__class__.__name__,
299299
PardisoTypeConversionWarning,
300300
stacklevel=3
301301
)

0 commit comments

Comments
 (0)