Skip to content

Commit

Permalink
Fix order of equations in json file (removed-initial must go directly…
Browse files Browse the repository at this point in the history
… after initial)
  • Loading branch information
hkiel authored and OpenModelica-Hudson committed Jan 25, 2016
1 parent 47db7d2 commit ba656e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/SimCode/SerializeModelInfo.mo
Expand Up @@ -85,8 +85,8 @@ algorithm
// Handle no comma for the first equation
File.write(file,"{\"eqIndex\":0,\"tag\":\"dummy\"}");
min(serializeEquation(file,eq,"initial",withOperations) for eq in SimCodeUtil.sortEqSystems(code.initialEquations));
min(serializeEquation(file,eq,"initial-lambda0",withOperations) for eq in SimCodeUtil.sortEqSystems(code.initialEquations_lambda0));
min(serializeEquation(file,eq,"removed-initial",withOperations) for eq in SimCodeUtil.sortEqSystems(code.removedInitialEquations));
min(serializeEquation(file,eq,"initial-lambda0",withOperations) for eq in SimCodeUtil.sortEqSystems(code.initialEquations_lambda0));
min(serializeEquation(file,eq,"regular",withOperations) for eq in SimCodeUtil.sortEqSystems(code.allEquations));
min(serializeEquation(file,eq,"start",withOperations) for eq in SimCodeUtil.sortEqSystems(code.startValueEquations));
min(serializeEquation(file,eq,"nominal",withOperations) for eq in SimCodeUtil.sortEqSystems(code.nominalValueEquations));
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Expand Up @@ -635,7 +635,7 @@ if test "$DARWIN" = "1"; then
OS_TARGET="osx"
LIS_LDFLAGS="-Wl,-install_name,@rpath/liblis.dylib"
AR_SH="sh -x ar.sh"
OMC_LIBS="$(OMC_LIBS) -Wl,-undefined -Wl,dynamic_lookup"
OMC_LIBS="$OMC_LIBS -Wl,-undefined -Wl,dynamic_lookup"
BOOTSTRAP_STATIC=""
CMAKE_LDFLAGS="-Wl,-undefined -Wl,dynamic_lookup"
UMFPACK_SHARED=ON
Expand Down

0 comments on commit ba656e8

Please sign in to comment.