Skip to content

Commit 39319ca

Browse files
committed
fixed rops bug
1 parent 39d5bdc commit 39319ca

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Simulation.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,7 @@ function rops(ssys::SystemSimulation, t)
258258
Nrxns_interface = [length(inter.reactions) for inter in ssys.interfaces if hasproperty(inter, :reactions)]
259259
if Nrxns_interface != Union{}[]
260260
Nxrns += sum(Nrxns_interface)
261+
end
261262
Nspcs = sum([length(getphasespecies(sim.domain.phase)) for sim in ssys.sims])
262263
cstot = zeros(Nspcs)
263264
vns = Array{Any,1}(undef, length(domains))

0 commit comments

Comments
 (0)