Skip to content

Commit 26daeb1

Browse files
committed
Return conversion as 0.0 if not calculated (otherwise would crash)
1 parent a6f5e22 commit 26daeb1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/EdgeAnalysis.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ function identifyobjects!(sim,corespcsinds,corerxninds,edgespcsinds,
503503
name = sim.names[index]
504504
@info "at time $t s, species $name was added to model core to avoid singularity"
505505
push!(invalidobjects,sim.species[index])
506-
return (false,true)
506+
return (false,true,0.0)
507507
end
508508

509509
if branchfactor != 0.0 && !firsttime

0 commit comments

Comments
 (0)