Skip to content

Commit 85e708e

Browse files
committed
observabes fix
1 parent 74a8881 commit 85e708e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/reactionsystem.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ function ReactionSystem(eqs, iv, unknowns, ps;
684684
MT.process_variables!(var_to_name, defaults, unknowns′)
685685
MT.process_variables!(var_to_name, defaults, ps′)
686686
MT.collect_var_to_name!(var_to_name, eq.lhs for eq in observed)
687-
687+
#
688688
# Computes network properties.
689689
nps = if networkproperties === nothing
690690
NetworkProperties{Int, get_speciestype(iv′, unknowns′, systems)}()
@@ -803,7 +803,7 @@ function make_ReactionSystem_internal(rxs_and_eqs::Vector, iv, us_in, ps_in; spa
803803
psv = collect(ps)
804804

805805
# Passes the processed input into the next `ReactionSystem` call.
806-
ReactionSystem(fulleqs, t, usv, psv; spatial_ivs, continuous_events, discrete_events, kwargs...)
806+
ReactionSystem(fulleqs, t, usv, psv; spatial_ivs, continuous_events, discrete_events, observed, kwargs...)
807807
end
808808

809809
function ReactionSystem(iv; kwargs...)

0 commit comments

Comments
 (0)