Commit ed3f25e2 authored by Arne Graf's avatar Arne Graf

Merge branch 'develop' of cst.version.fz-juelich.de:jupedsim/jpscore into develop

parents 16c39f85 06005c95
Pipeline #1310 canceled with stage
......@@ -501,7 +501,10 @@ int Simulation::RunBody(double maxSimTime)
_nPeds = _building->GetAllPedestrians().size();
int initialnPeds = _nPeds;
// main program loop
while ( (_nPeds || !_agentSrcManager.IsCompleted() ) && t < maxSimTime)
while ( (_nPeds > 0 || (!_agentSrcManager.IsCompleted() && (_hybridSimManager != nullptr))) && t < maxSimTime)
//while ( _nPeds && t < maxSimTime)
{
t = 0 + (frameNr - 1) * _deltaT;
......
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