Skip to content

Commit

Permalink
More fixing of tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kaandocal committed Apr 24, 2024
1 parent 5884e7c commit 33fce0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/feedbackloop.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using OrdinaryDiffEq
using SteadyStateDiffEq
using FiniteStateProjection
using SparseArrays
using LinearAlgebra

rs = @reaction_network begin
σ_off, G + P 0
Expand Down Expand Up @@ -51,7 +52,7 @@ sol = solve(prob, Vern7(), abstol=1e-6, saveat=tt)

f = (du,u,p,t) -> mul!(vec(du), A, vec(u))

probA = ODEProblem(f, u0, 10.0)
probA = ODEProblem(f, u0, 20.0)
solA = solve(probA, Vern7(), abstol=1e-6, saveat=tt)

@test sol.u[1] solA.u[1] atol=1e-4
Expand Down

0 comments on commit 33fce0e

Please sign in to comment.