Skip to content

Commit

Permalink
Update lattice_reaction_systems.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
TorkelE authored Nov 23, 2024
1 parent c5925a8 commit 0584001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spatial_reaction_systems/lattice_reaction_systems.jl
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ struct LatticeReactionSystem{Q, R, S, T} <: MT.AbstractTimeDependentSystem
if !isempty(MT.continuous_events(rs)) || !isempty(MT.discrete_events(rs))
throw(ArgumentError("The `ReactionSystem` used as input to `LatticeReactionSystem` contain events. These will be ignored in any simulations based on the created `LatticeReactionSystem`."))
end
if !isempty(MT.get_parent(MT.get_systems(rs)))
if !isempty(MT.get_parent(rs))
@warn "The `ReactionSystem` used as input to `LatticeReactionSystem` was originally created as a hierarchical model. While this won't necessarily result in errors, it has not been well-tested, and is not recommended."
end
if !isempty(observed(rs))
Expand Down

0 comments on commit 0584001

Please sign in to comment.