Skip to content

Commit

Permalink
[Janitor mode] Fix whitespace
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22649 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
OpenModelica-Hudson committed Oct 7, 2014
1 parent 8239c18 commit 38a1dff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/DynamicOptimization.mo
Expand Up @@ -113,7 +113,7 @@ algorithm

constraints = findFinalConstraints(varlst, {});
(v, e) = addOptimizationVarsEqns2(constraints, 1, v, e, knvars, "$OMC$finalConstarintTerm", BackendDAE.OPT_FCONSTR());

Flags.setConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION, true);
then (v, e, inClassAttr);
case (v, e, true, _, _, _,_)
Expand Down Expand Up @@ -143,7 +143,7 @@ algorithm

constraints = findFinalConstraints(varlst, {});
(v, e) = addOptimizationVarsEqns2(constraints, 1, v, e, knvars, "$OMC$finalConstarintTerm", BackendDAE.OPT_FCONSTR());

Flags.setConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION, true);
then (v, e,{DAE.OPTIMIZATION_ATTRS(mayer1, lagrange1, NONE(), NONE())});
case (v, e, false, _, _, _, true)
Expand Down
4 changes: 2 additions & 2 deletions Compiler/Util/Flags.mo
Expand Up @@ -926,11 +926,11 @@ constant ConfigFlag RESHUFFLE = CONFIG_FLAG(58, "reshuffle",
constant ConfigFlag NEW_UNIT_CHECKING = CONFIG_FLAG(59,
"newUnitChecking", NONE(), INTERNAL(), BOOL_FLAG(false), NONE(),
Util.notrans(""));

constant ConfigFlag GENERATE_DYN_OPTIMIZATION_PROBLEM = CONFIG_FLAG(60, "gDynOpt",
NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(),
Util.gettext("Generate dynamic optimization problem based on annation approach."));


// This is a list of all configuration flags. A flag can not be used unless it's
// in this list, and the list is checked at initialization so that all flags are
Expand Down

0 comments on commit 38a1dff

Please sign in to comment.