When I use the program, sometimes I'll get "inf" for simulation time. I guess this may be caused by the random number generated.
Therefore, I use a loop in SimulationTimer::propagateTime function to avoid a random number of zero, which may cause the time being infinity.
Hope this may help.
When I use the program, sometimes I'll get "inf" for simulation time. I guess this may be caused by the random number generated. Therefore, I use a loop in SimulationTimer::propagateTime function to avoid a random number of zero, which may cause the time being infinity. Hope this may help.