Skip to content

Commit 08f6177

Browse files
committed
cleanup
1 parent 75255e4 commit 08f6177

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/common.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ SciMLBase.init(prob::LinearProblem, args...; kwargs...) = SciMLBase.init(prob,no
5656

5757
function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorithm,Nothing}, args...;
5858
alias_A = false, alias_b = false,
59-
abstol=eps(eltype(prob.A)), # TODO handle when eps()
60-
reltol=eps(eltype(prob.A)), # not defined on eltype
61-
maxiters=length(prob.b), # like Int of Complex
59+
abstol=eps(eltype(prob.A)),
60+
reltol=eps(eltype(prob.A)),
61+
maxiters=length(prob.b),
6262
verbose=false,
6363
Pl = nothing,
6464
Pr = nothing,

src/pardiso.jl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,11 @@ function init_cacheval(alg::PardisoJL, cache::LinearCache)
7676
Pardiso.pardiso(solver, u, A, b)
7777
end
7878

79-
# ipram/dpram
79+
"""
80+
use ipram/dpram to set tolerances???
81+
"""
8082
# abstol = cache.abstol
8183
# reltol = cache.reltol
82-
# kwargs = (abstol=abstol, reltol=reltol)
8384

8485
return solver
8586
end

test/runtests.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ end
145145
MKLPardisoIterate(),
146146
)
147147

148-
u = solve(prob, alg; verbose=true)
149-
148+
u = solve(prob, alg; cache_kwargs...)
150149
@test A * u b
151150
end
152151

0 commit comments

Comments
 (0)