Skip to content

Commit c1704be

Browse files
committed
test update fix
1 parent d624a6b commit c1704be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/model_creation/examples/noise_modelling_approaches.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ sol_extrinsic = solve(eprob_extrinsic; trajectories = 200)
112112
```
113113
Next, we can use the `EnsembleSummary` interface to plot each ensemble's mean activity (as well as 5% and 95% quantiles) over time:
114114
```@example noise_modelling_approaches
115-
e_sumary_intrinsic = EnsembleAnalysis.EnsembleSummary(sols, 0.0:1.0:tend)
116-
e_sumary_extrinsic = EnsembleAnalysis.EnsembleSummary(sols, 0.0:1.0:tend)
115+
e_sumary_intrinsic = EnsembleAnalysis.EnsembleSummary(sol_intrinsic, 0.0:1.0:tend)
116+
e_sumary_extrinsic = EnsembleAnalysis.EnsembleSummary(sol_extrinsic, 0.0:1.0:tend)
117117
plot(e_sumary_intrinsic; label = "Intrinsic noise", idxs = 1)
118118
plot!(e_sumary_extrinsic; label = "Extrinsic noise", idxs = 1)
119119
```

test/spatial_modelling/lattice_reaction_systems_lattice_types.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ let
167167
graph_oprob = ODEProblem(graph_lrs, u0_graph_grid, (0.0, 100.0), [pV_graph_grid; pE]; jac, sparse)
168168
masked_sol = solve(masked_oprob, QNDF(); saveat=0.1, abstol=1e-9, reltol=1e-9)
169169
graph_sol = solve(graph_oprob, QNDF(); saveat=0.1, abstol=1e-9, reltol=1e-9)
170-
@test base_osol masked_sol graph_sol
170+
@test base_osol masked_sol graph_sol atol = 1e-6 rtol = 1e-6
171171
end
172172
end
173173

0 commit comments

Comments
 (0)