Skip to content

Commit 13c034c

Browse files
committed
comment out poor behaviour. inverse op of inverted preconditioner is unnecessary
1 parent 1af5aac commit 13c034c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/preconditioners.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ struct InvPreconditioner{T}
2626
end
2727

2828
Base.eltype(A::InvPreconditioner) = Base.eltype(A.P)
29-
LinearAlgebra.ldiv!(A::InvPreconditioner, x) = mul!(x, A.P, x)
29+
#LinearAlgebra.ldiv!(A::InvPreconditioner, x) = mul!(x, A.P, x)
3030
LinearAlgebra.ldiv!(y, A::InvPreconditioner, x) = mul!(y, A.P, x)
3131
LinearAlgebra.mul!(y, A::InvPreconditioner, x) = ldiv!(y, A.P, x)

0 commit comments

Comments
 (0)