Skip to content

Commit 3af59d6

Browse files
test fixes
1 parent 1173d23 commit 3af59d6

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/ode_default_alg.jl

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,7 @@ function default_algorithm(prob::DiffEqBase.AbstractODEProblem{uType,tType,inpla
4040
elseif tol_level == :high_tol
4141
alg = Rosenbrock23(autodiff=false)
4242
else
43-
if eltype(prob.u0) <: Float64
44-
alg = Rodas4(autodiff=false)
45-
else # This is only for Julia v0.6 lufact! bug
46-
alg = Rodas4(autodiff=false,linsolve=LinSolveFactorize(qrfact!))
47-
end
43+
alg = Rodas4(autodiff=false)
4844
end
4945
else # :auto ∈ alg_hints
5046
if !(uEltype <: Float64) || tol_level == :extreme_tol

test/default_dae_alg_test.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ using DiffEqProblemLibrary.DAEProblemLibrary: importdaeproblems; importdaeproble
44
import DiffEqProblemLibrary.DAEProblemLibrary: prob_dae_resrob
55

66
prob = prob_dae_resrob
7-
sol =solve(prob)
7+
sol = solve(prob)
88

99
@test typeof(sol.alg) <: IDA

test/default_sde_alg_test.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ using DifferentialEquations, DiffEqProblemLibrary, Test
33
using DiffEqProblemLibrary.SDEProblemLibrary: importsdeproblems; importsdeproblems()
44
import DiffEqProblemLibrary.SDEProblemLibrary: prob_sde_additive
55

6+
using Random
67
srand(100)
78

89
prob = prob_sde_additive

0 commit comments

Comments
 (0)