Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 51ed436

Browse files
ptaeuberOpenModelica-Hudson
authored andcommitted
Fix nls flag order
Belonging to [master]: - #2135
1 parent 8e5affa commit 51ed436

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

SimulationRuntime/c/util/simulation_options.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,6 +448,7 @@ const char *FLAG_DETAILED_DESC[FLAG_MAX+1] = {
448448
" * hybrid\n"
449449
" * kinsol\n"
450450
" * newton\n"
451+
" * homotopy\n"
451452
" * mixed",
452453
/* FLAG_NLS_INFO */
453454
" Outputs detailed information about solving process of non-linear systems into csv files.",
@@ -748,14 +749,17 @@ const char *NLS_NAME[NLS_MAX+1] = {
748749
/* NLS_HYBRID */ "hybrid",
749750
/* NLS_KINSOL */ "kinsol",
750751
/* NLS_NEWTON */ "newton",
751-
/* NLS_MIXED */ "mixed",
752752
#else
753753
/* NLS_HYBRID */ "hybrid-not-available",
754754
/* NLS_KINSOL */ "kinsol-not-available",
755755
/* NLS_NEWTON */ "newton-not-available",
756-
/* NLS_MIXED */ "mixed-not-available",
757756
#endif
758757
/* NLS_HOMOTOPY */ "homotopy",
758+
#if !defined(OMC_MINIMAL_RUNTIME)
759+
/* NLS_MIXED */ "mixed",
760+
#else
761+
/* NLS_MIXED */ "mixed-not-available",
762+
#endif
759763
"NLS_MAX"
760764
};
761765

0 commit comments

Comments
 (0)