Skip to content

Commit aa9c595

Browse files
committed
More tests
1 parent 95b3e40 commit aa9c595

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/odesystem.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,11 @@ let
650650
tspan = (0.0,1.0)
651651
prob = ODEProblem(sys, u0map, tspan, pmap)
652652
@test prob.p === Tuple([(Dict(pmap))[k] for k in values(parameters(sys))])
653+
654+
pmap = [k1 => 1.0, k2 => 1]
655+
tspan = (0.0,1.0)
656+
prob = ODEProblem(sys, u0map, tspan, pmap)
657+
@test eltype(prob.p) === Float64
653658
end
654659

655660
let

0 commit comments

Comments
 (0)