Skip to content

Commit

Permalink
- fix debug output
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20427 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed May 7, 2014
1 parent 9661969 commit 9c79924
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SimulationRuntime/c/simulation/solver/events.c
Expand Up @@ -143,6 +143,10 @@ int checkForStateEvent(DATA* data, LIST *eventList)
} else {
debugStreamPrint(LOG_EVENTS, 0, "unchanged: %s -> %s", (data->simulationInfo.zeroCrossingsPre[i]>0) ? "TRUE" : "FALSE", (data->simulationInfo.zeroCrossings[i]>0) ? "TRUE" : "FALSE");
}

if (DEBUG_STREAM(LOG_EVENTS)) {
messageClose(LOG_EVENTS);
}
}
if (DEBUG_STREAM(LOG_EVENTS)) {
messageClose(LOG_EVENTS);
Expand Down

0 comments on commit 9c79924

Please sign in to comment.