Skip to content

Commit 55d8e48

Browse files
committed
remove dropped code
1 parent 2c904fb commit 55d8e48

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/reactionsystem.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -485,11 +485,10 @@ function make_ReactionSystem_internal(rxs_and_eqs::Vector, iv, us_in, ps_in;
485485
spatial_ivs = nothing, continuous_events = [], discrete_events = [],
486486
observed = [], kwargs...)
487487

488-
# Filters away any potential observables from `states` and `spcs`.
488+
# Error if any observables have been declared a species or variable
489489
obs_vars = Set(obs_eq.lhs for obs_eq in observed)
490490
any(in(obs_vars), us_in) &&
491491
error("Found an observable in the list of unknowns. This is not allowed.")
492-
# us_in = filter(u -> !any(isequal(u, obs_var) for obs_var in obs_vars), us_in)
493492

494493
# Creates a combined iv vector (iv and sivs). This is used later in the function (so that
495494
# independent variables can be excluded when encountered quantities are added to `us` and `ps`).

0 commit comments

Comments
 (0)