Skip to content

Commit

Permalink
update defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jan 31, 2017
1 parent 87dd177 commit 40860f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/default_ode_alg_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ default_algorithm(prob_ode_bigfloat2Dlinear;alg_hints=[:stiff])

sol =solve(prob_ode_bigfloat2Dlinear;alg_hints=[:stiff])

@test typeof(sol.alg) == Rosenbrock23{0,true}
@test typeof(sol.alg) == Rosenbrock23{0,true,typeof(lufact!)}

immutable FooAlg end

Expand Down
4 changes: 2 additions & 2 deletions test/default_sde_alg_test.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ srand(100)

prob = prob_sde_additive
sol =solve(prob,dt=1/2^(3))
@test typeof(sol.alg) == SRIW1
@test typeof(sol.alg) == SRIW1{StochasticDiffEq.RSWM{:RSwM3,Float64}}

sol =solve(prob,dt=1/2^(3),alg_hints=[:additive])
@test typeof(sol.alg) == SRA1
@test typeof(sol.alg) == SRA1{StochasticDiffEq.RSWM{:RSwM3,Float64}}
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
using DifferentialEquations, Base.Test
@time @testset "Default ODE Algorithm" begin include("default_ode_alg_test.jl") end
@time @testset "Default SDE Algorithm" begin include("default_sde_alg_test.jl") end
@time @testset "Default DDE Algorithm" begin include("default_dde_alg_test.jl") end
@time @testset "Default DAE Algorithm" begin include("default_dae_alg_test.jl") end
@time @testset "Default FEM Algorithm" begin include("default_fem_alg_test.jl") end

0 comments on commit 40860f7

Please sign in to comment.