Skip to content

Commit de4506e

Browse files
committed
add jac eval
1 parent aa24938 commit de4506e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ end
4747

4848
# Tests ODE, SDE, jump simulations, nonlinear solving, and steady state simulations.
4949
@time @safetestset "ODE System Simulations" begin include("simulation_and_solving/simulate_ODEs.jl") end
50-
#@time @safetestset "Automatic Jacobian Construction" begin include("simulation_and_solving/jacobian_construction.jl") end
50+
@time @safetestset "Automatic Jacobian Construction" begin include("simulation_and_solving/jacobian_construction.jl") end
5151
@time @safetestset "SDE System Simulations" begin include("simulation_and_solving/simulate_SDEs.jl") end
5252
@time @safetestset "Jump System Simulations" begin include("simulation_and_solving/simulate_jumps.jl") end
5353
@time @safetestset "Nonlinear and SteadyState System Solving" begin include("simulation_and_solving/solve_nonlinear.jl") end

test/test_functions.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function jac_eval(rs::ReactionSystem, u, p, t; combinatoric_ratelaws = true, spa
5151
prob = ODEProblem(rs, u, 0.0, p; jac = true, combinatoric_ratelaws, sparse)
5252
J = sparse ? deepcopy(prob.f.jac_prototype) : zeros(length(u), length(u))
5353
prob.f.jac(J, prob.u0, prob.p, t)
54-
@test J == prob.f.jac(prob.u0, prob.p, t)
54+
@test J prob.f.jac(prob.u0, prob.p, t)
5555
return J
5656
end
5757

0 commit comments

Comments
 (0)