Skip to content

Commit 13ccf10

Browse files
authored
add tests for symbols in discrete solutions
1 parent b2eeceb commit 13ccf10

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/discretesystem.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ prob_map = DiscreteProblem(sys,u0,tspan,p)
3434
# Solution
3535
using OrdinaryDiffEq
3636
sol_map = solve(prob_map,FunctionMap());
37+
@test sol_map[S] isa Vector
3738

3839
# Using defaults constructor
3940
@parameters t c=10.0 nsteps=400 δt=0.1 β=0.05 γ=0.25

0 commit comments

Comments
 (0)