Skip to content

Commit

Permalink
Highlight workaround for "symEuler"
Browse files Browse the repository at this point in the history
  • Loading branch information
lochel committed May 6, 2015
1 parent e2edb49 commit 673eaa1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Compiler/BackEnd/Initialization.mo
Expand Up @@ -109,8 +109,11 @@ protected
list<BackendDAE.Equation> removedEqns;
algorithm
try
// TODO: remove this once the initialization is moved before post-optimization
dae := BackendDAEOptimize.symEulerInit(inDAE);

// inline all when equations, if active with body else with lhs=pre(lhs)
dae := inlineWhenForInitialization(BackendDAEOptimize.symEulerInit(inDAE));
dae := inlineWhenForInitialization(dae);
// fcall2(Flags.DUMP_INITIAL_SYSTEM, BackendDump.dumpBackendDAE, dae, "inlineWhenForInitialization");

(initVars, outPrimaryParameters, outAllPrimaryParameters) := selectInitializationVariablesDAE(dae);
Expand Down

0 comments on commit 673eaa1

Please sign in to comment.