Skip to content

Commit 16c7d13

Browse files
committed
Reduce 'dtmax' & tolerance in test/
1 parent 7ab32b5 commit 16c7d13

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/L96m/data/dp5_full.npy

0 Bytes
Binary file not shown.

test/L96m/data/tsitpap8_full.npy

0 Bytes
Binary file not shown.

test/L96m/runtests.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ println("")
3939
# integration testing ##########################################################
4040
################################################################################
4141
const T = 1.0
42-
const dtmax = 1e-4
42+
const dtmax = 1e-5
4343
const saveat = 1e-2
4444
pb_full = DE.ODEProblem(full, z0, (0.0, T), l96)
4545
pb_bal = DE.ODEProblem(balanced, z0[1:l96.K], (0.0, T), l96)
@@ -69,9 +69,9 @@ println("steps:", lpad(length(sol_bal.t), LPAD_INTEGER),
6969
"\telapsed:", lpad(elapsed_bal, LPAD_FLOAT))
7070

7171
@testset "integration testing" begin
72-
@test isapprox(sol_dp5[:,1:end], dp5_test, atol=1e-6)
73-
@test isapprox(sol_tp8[:,1:end], tp8_test, atol=1e-6)
74-
@test isapprox(sol_bal[:,1:end], bal_test, atol=1e-6)
72+
@test isapprox(sol_dp5[:,1:end], dp5_test, atol=1e-5)
73+
@test isapprox(sol_tp8[:,1:end], tp8_test, atol=1e-5)
74+
@test isapprox(sol_bal[:,1:end], bal_test, atol=1e-5)
7575
end
7676
println("")
7777

0 commit comments

Comments
 (0)