Skip to content

Commit 5674434

Browse files
committed
use scimloperators.identityoperator in place of iterativesolves.identity
1 parent 49132bc commit 5674434

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorith
9292
reltol = default_tol(eltype(prob.A)),
9393
maxiters::Int = length(prob.b),
9494
verbose::Bool = false,
95-
Pl = Identity(),
96-
Pr = Identity(),
95+
Pl = IdentityOperator{size(prob.A, 1)}(),
96+
Pr = IdentityOperator{size(prob.A, 2)}(),
9797
assumptions = OperatorAssumptions(),
9898
kwargs...)
9999
@unpack A, b, u0, p = prob

0 commit comments

Comments
 (0)