Skip to content

Commit ff5a503

Browse files
committed
fix typo when setting Pr to default
1 parent c8e1358 commit ff5a503

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iterative_wrappers.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ function SciMLBase.solve(cache::LinearCache, alg::KrylovJL; kwargs...)
152152

153153
# use no-op preconditioner for Krylov.jl (LinearAlgebra.I) when M/N is identity
154154
M = _isidentity_struct(M) ? I : M
155-
N = _isidentity_struct(M) ? I : N
155+
N = _isidentity_struct(N) ? I : N
156156

157157
atol = float(cache.abstol)
158158
rtol = float(cache.reltol)

0 commit comments

Comments
 (0)