To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 2d24bb3a authored by Victor's avatar Victor
Browse files

minor bug changed

parent f5dc4e1d
Pipeline #85268 failed with stage
in 15 minutes and 50 seconds
......@@ -37,10 +37,10 @@ function run!(w::World{A,S,T},alg::L,tend::Number,b,d;
if dt < 0
throw("We obtained negative time step dt = $dt at event $i")
elseif size(w) == NMax
@info "All individuals have died :("
@info "We have reached the maximum number of individuals allowed"
break
elseif size(w) == 0
@info "We have reached the maximum number of individuals allowed"
@info "All individuals have died :("
break
end
if t - get_tend(sim) >= dt_saving
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment