Skip to content

Commit

Permalink
Update src/common.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas authored Oct 20, 2023
1 parent e214453 commit f355271
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 @@ -151,8 +151,8 @@ function SciMLBase.init(prob::LinearProblem, alg::SciMLLinearSolveAlgorithm,
end

# Guard against type mismatch for user-specified reltol/abstol
reltol = eltype(prob.A)(reltol)
abstol = eltype(prob.A)(abstol)
reltol = eltype(prob.b)(reltol)
abstol = eltype(prob.b)(abstol)

cacheval = init_cacheval(alg, A, b, u0, Pl, Pr, maxiters, abstol, reltol, verbose,
assumptions)
Expand Down

0 comments on commit f355271

Please sign in to comment.