Skip to content

Commit

Permalink
Handle some #ifdef'ed cases
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@18358 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 30, 2013
1 parent dcacc9a commit a71c721
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SimulationRuntime/c/simulation/solver/solver_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ int solver_main(DATA* data, const char* init_initMethod,
case S_LOBATTO2:
case S_LOBATTO4:
case S_LOBATTO6:
warningStreamPrint(LOG_STDOUT, "Sundial/kinsol is needed but not available. Please choose other solver.");
warningStreamPrint(LOG_STDOUT, 0, "Sundial/kinsol is needed but not available. Please choose other solver.");
return 1;
#endif

#ifndef WITH_IPOPT
case S_OPTIMIZATION:
warningStreamPrint(LOG_STDOUT, "Ipopt is needed but not available.");
warningStreamPrint(LOG_STDOUT, 0, "Ipopt is needed but not available.");
return 1;
#endif

Expand Down

0 comments on commit a71c721

Please sign in to comment.