Skip to content

Commit

Permalink
Use prob.b instead of prob.A to promote abstol and reltol in case A i…
Browse files Browse the repository at this point in the history
…s an operator
  • Loading branch information
ma-sadeghi committed Oct 20, 2023
1 parent f355271 commit 4c77e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common.jl
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ function SciMLBase.init(prob::LinearProblem, alg::SciMLLinearSolveAlgorithm,
args...;
alias_A = default_alias_A(alg, prob.A, prob.b),
alias_b = default_alias_b(alg, prob.A, prob.b),
abstol = default_tol(eltype(prob.A)),
reltol = default_tol(eltype(prob.A)),
abstol = default_tol(eltype(prob.b)),
reltol = default_tol(eltype(prob.b)),
maxiters::Int = length(prob.b),
verbose::Bool = false,
Pl = IdentityOperator(size(prob.A)[1]),
Expand Down

0 comments on commit 4c77e2c

Please sign in to comment.