Skip to content

Commit 23ef186

Browse files
Update initializationsystem.jl
1 parent 1c25426 commit 23ef186

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/initializationsystem.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,11 +1194,11 @@ end
11941194
@test integ[x] 1 / cbrt(3)
11951195
@test integ[y] 2 / cbrt(3)
11961196
@test integ.ps[p] == 1.0
1197-
@test integ.ps[q] 3 / cbrt(3)
1197+
@test integ.ps[q] 3 / cbrt(3) atol=1e-5
11981198
prob2 = remake(prob; u0 = [y => 3x], p = [q => 2x])
11991199
integ2 = init(prob2)
1200-
@test integ2[x] cbrt(3 / 28)
1201-
@test integ2[y] 3cbrt(3 / 28)
1200+
@test integ2[x] cbrt(3 / 28) atol=1e-5
1201+
@test integ2[y] 3cbrt(3 / 28) atol=1e-5
12021202
@test integ2.ps[p] == 1.0
12031203
@test integ2.ps[q] 2cbrt(3 / 28)
12041204
end

0 commit comments

Comments
 (0)