Skip to content

Commit aa24938

Browse files
committed
mark another broken test as broken
1 parent 4fb8a7c commit aa24938

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/simulation_and_solving/simulate_SDEs.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ end
384384
### Other Tests ###
385385

386386
# Checks that solution values have types consistent with their input types.
387-
# Check that both float types are preserved in the solution (and problems), while integers are
387+
# Check that both float types are preserved in the solution (and problems), while integers are
388388
# promoted to floats.
389389
# Checks that the time types are correct (`Float64` by default or possibly `Float32`), however,
390390
# type conversion only occurs in the solution, and integer types are preserved in problems.
@@ -400,7 +400,7 @@ let
400400
@test eltype(ssol[:X1]) == eltype(ssol[:X2]) == typeof(sprob[:X1]) == typeof(sprob[:X2]) == Float64
401401
@test eltype(ssol.t) == typeof(sprob.tspan[1]) == typeof(sprob.tspan[2]) == Float64
402402

403-
# Checks that `Int64` values are promoted to `Float64`.
403+
# Checks that `Int64` values are promoted to `Float64`.
404404
u0 = [:X1 => 1, :X2 => 3]
405405
ps = [:k1 => 2, :k2 => 3]
406406
sprob = SDEProblem(rn, u0, 1, ps)
@@ -413,7 +413,7 @@ let
413413
ps = [:k1 => 2.0f0, :k2 => 3.0f0]
414414
sprob = SDEProblem(rn, u0, 1.0f0, ps)
415415
ssol = solve(sprob, ISSEM())
416-
@test eltype(ssol[:X1]) == eltype(ssol[:X2]) == typeof(sprob[:X1]) == typeof(sprob[:X2]) == Float32
416+
@test_broken eltype(ssol[:X1]) == eltype(ssol[:X2]) == typeof(sprob[:X1]) == typeof(sprob[:X2]) == Float32
417417
@test eltype(ssol.t) == typeof(sprob.tspan[1]) == typeof(sprob.tspan[2]) == Float32
418418
end
419419

0 commit comments

Comments
 (0)