Skip to content

Commit ee4dbf3

Browse files
Merge pull request #4034 from SciML/fix_hybrid_jump_test_bug
Fix test bug for hybrid jump tests
2 parents 6cdf9ae + 074b85e commit ee4dbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jumpsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ end
536536
seed += 1
537537
end
538538
Xsamp /= Nsims
539-
@test abs(Xsamp - Xf(0.2, p) < 0.05 * Xf(0.2, p))
539+
@test abs(Xsamp - Xf(0.2, p)) < 0.05 * Xf(0.2, p)
540540
end
541541

542542
@testset "JumpProcess simulation should be Int64 valued (#3446)" begin

0 commit comments

Comments
 (0)