Skip to content

Commit

Permalink
[Janitor mode] Fix tabs
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17393 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Sep 26, 2013
1 parent ea16765 commit 54f49e4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions SimulationRuntime/cpp/Core/SimController/SimManager.cpp
Expand Up @@ -400,8 +400,8 @@ void SimManager::runSingleProcess()
for(int i=0;i<_dimZeroFunc;i++)
_events[i] = bool(zeroVal_new[i]);
_mixed_system->handleSystemEvents(_events);
// Reset the time-events
if (_dimtimeevent)
// Reset the time-events
if (_dimtimeevent)
{
timeevent_system->handleTimeEvent(_timeeventcounter);
}
Expand Down Expand Up @@ -431,8 +431,8 @@ void SimManager::runSingleProcess()
for(int i=0;i<_dimZeroFunc;i++)
_events[i] = bool(zeroVal_new[i]);
_mixed_system->handleSystemEvents(_events);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
}
else
{
Expand All @@ -457,8 +457,8 @@ void SimManager::runSingleProcess()
for(int i=0;i<_dimZeroFunc;i++)
_events[i] = bool(zeroVal_new[i]);
_mixed_system->handleSystemEvents(_events);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
}

}
Expand Down Expand Up @@ -520,8 +520,8 @@ void SimManager::runSingleProcess()
for(int i=0;i<_dimZeroFunc;i++)
_events[i] = bool(zeroVal_new[i]);
_mixed_system->handleSystemEvents(_events);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
//reset time-events
timeevent_system->handleTimeEvent(_timeeventcounter);
}
}

Expand Down

0 comments on commit 54f49e4

Please sign in to comment.