We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c25426 commit 23ef186Copy full SHA for 23ef186
test/initializationsystem.jl
@@ -1194,11 +1194,11 @@ end
1194
@test integ[x] ≈ 1 / cbrt(3)
1195
@test integ[y] ≈ 2 / cbrt(3)
1196
@test integ.ps[p] == 1.0
1197
- @test integ.ps[q] ≈ 3 / cbrt(3)
+ @test integ.ps[q] ≈ 3 / cbrt(3) atol=1e-5
1198
prob2 = remake(prob; u0 = [y => 3x], p = [q => 2x])
1199
integ2 = init(prob2)
1200
- @test integ2[x] ≈ cbrt(3 / 28)
1201
- @test integ2[y] ≈ 3cbrt(3 / 28)
+ @test integ2[x] ≈ cbrt(3 / 28) atol=1e-5
+ @test integ2[y] ≈ 3cbrt(3 / 28) atol=1e-5
1202
@test integ2.ps[p] == 1.0
1203
@test integ2.ps[q] ≈ 2cbrt(3 / 28)
1204
end
0 commit comments