Skip to content

Commit

Permalink
Enable MixedTearing by default (as it used to be)
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15821 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Apr 15, 2013
1 parent 2272097 commit 3050399
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/Script/CevalScript.mo
Expand Up @@ -6689,7 +6689,7 @@ algorithm
// try function interpretation
case (cache,env, DAE.CALL(path = funcpath, attr = DAE.CALL_ATTR(ty = ty, builtin = false)), vallst, _, st, msg)
equation
true = boolOr(Flags.isSet(Flags.EVAL_FUNC), Flags.isSet(Flags.GEN_DEBUG_SYMBOLS));
true = Flags.isSet(Flags.EVAL_FUNC);
failure(cevalIsExternalObjectConstructor(cache, funcpath, env, msg));
Debug.fprintln(Flags.DYN_LOAD, "CALL: try constant evaluation: " +& Absyn.pathString(funcpath));
(cache,
Expand Down
2 changes: 1 addition & 1 deletion Compiler/Util/Flags.mo
Expand Up @@ -360,7 +360,7 @@ constant DebugFlag DUMP_DAE= DEBUG_FLAG(96, "daeunparser", false,
constant DebugFlag SHOW_START_ORIGIN = DEBUG_FLAG(97, "showStartOrigin", false,
Util.gettext("Enables dumping of the DAE startOrigin attribute of the variables"));
// The flags mixedTearing are only needed as long tearing of mixed system in not default.
constant DebugFlag MIXED_TEARING = DEBUG_FLAG(98, "MixedTearing", false,
constant DebugFlag MIXED_TEARING = DEBUG_FLAG(98, "MixedTearing", true,
Util.gettext("Disables tearing of mixed system."));
constant DebugFlag LINEAR_TEARING = DEBUG_FLAG(99, "doLinearTearing", false,
Util.gettext("Enables tearing of linear systems, but for now they aren't handled efficent in the runtime."));
Expand Down

0 comments on commit 3050399

Please sign in to comment.