You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/Simulation.jl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -319,7 +319,7 @@ end
319
319
functionrops(ssys::SystemSimulation, name, t)
320
320
domains =getfield.(ssys.sims, :domain)
321
321
ind =findfirst(isequal(name), ssys.names)
322
-
Nrxns =sum([length(sim.domain.phase.reactions) for sim in ssys.sims]) +sum([length(inter.reactions) for inter in ssys.interfaces ifhasproperty(inter, :reactions)])
322
+
Nrxns =sum([length(sim.domain.phase.reactions) for sim in ssys.sims]) +sum(Vector{Int}([length(inter.reactions) for inter in ssys.interfaces ifhasproperty(inter, :reactions)]))
323
323
Nspcs =sum([length(getphasespecies(sim.domain.phase)) for sim in ssys.sims])
0 commit comments