Skip to content

Commit

Permalink
- fixed compiling of DEBUG_OUTPUT further
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@19546 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Mar 12, 2014
1 parent 35720bc commit 7d7ec63
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/simulation/options.c
Expand Up @@ -68,7 +68,7 @@ int checkCommandLineArguments(int argc, char **argv)
debugStreamPrint(LOG_STDOUT, 0, "%s", argv[i]);
messageClose(LOG_STDOUT);

debugStreamPrint(LOG_STDOUT, "interpreted command line options");
debugStreamPrint(LOG_STDOUT, 0, "interpreted command line options");
#endif

for(i=1; i<argc; ++i)
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/c/simulation/solver/model_help.c
Expand Up @@ -352,7 +352,7 @@ void printRelationsDebug(DATA *data, int stream)
debugStreamPrint(stream, 1, "status of relations");

for(i=0; i<data->modelData.nRelations; i++)
debugStreamPrint(stream, 0, "[%ld] %s = %c | pre(%s) = %c", i, data->callback->relationDescription[i], data->simulationInfo.relations[i] ? 'T' : 'F', data->callback->relationDescription[i], data->simulationInfo.relationsPre[i] ? 'T' : 'F');
debugStreamPrint(stream, 0, "[%ld] %s = %c | pre(%s) = %c", i, data->callback->relationDescription(i), data->simulationInfo.relations[i] ? 'T' : 'F', data->callback->relationDescription(i), data->simulationInfo.relationsPre[i] ? 'T' : 'F');

messageClose(stream);
}
Expand Down Expand Up @@ -1020,7 +1020,7 @@ void deInitializeDataStruc(DATA *data)
* Less is for case LESS and GREATEREQ
* Greater is for case LESSEQ and GREATER
*/
static double tolZC = 1e-10;
static double tolZC = 0;

void setZCtol(double relativeTol)
{
Expand Down

0 comments on commit 7d7ec63

Please sign in to comment.