Skip to content

Commit 9686699

Browse files
committed
allow boundary condition species in differentials
1 parent 20cfa99 commit 9686699

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/reactionsystem.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ end
387387
# or somehwere within the differential expression).
388388
function is_species_diff(expr)
389389
Symbolics.is_derivative(expr) || return false
390-
return hasnode(ex -> (ex isa Symbolics.BasicSymbolic) && isspecies(ex), expr)
390+
return hasnode(ex -> (ex isa Symbolics.BasicSymbolic) && isspecies(ex) && !isbc(ex), expr)
391391
end
392392

393393
# Four-argument constructor. Permits additional inputs as optional arguments.

0 commit comments

Comments
 (0)