Skip to content

Commit

Permalink
Remove compiler flag disableLinearTearing
Browse files Browse the repository at this point in the history
  -  Use --maxSizeLinearTearing=0 instead.
  • Loading branch information
AnHeuermann authored and AnHeuermann committed Nov 25, 2020
1 parent 180473f commit aaf775e
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 111 deletions.
5 changes: 0 additions & 5 deletions OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -8529,11 +8529,6 @@ algorithm
enabledModules := deprecatedConfigFlag(Flags.CSE_EACHCALL, enabledModules, "wrapFunctionCalls", "postOptModules+");
enabledModules := deprecatedDebugFlag(Flags.ON_RELAXATION, enabledModules, "relaxSystem", "postOptModules+");

if Flags.getConfigBool(Flags.DISABLE_LINEAR_TEARING) then
FlagsUtil.setConfigInt(Flags.MAX_SIZE_LINEAR_TEARING, 0);
Error.addCompilerWarning("Deprecated flag --disableLinearTearing detected. Use --maxSizeLinearTearing=0 instead.");
end if;

if Flags.getConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION) or Config.acceptOptimicaGrammar() or Flags.getConfigBool(Flags.GENERATE_DYN_OPTIMIZATION_PROBLEM) then
enabledModules := "generateSymbolicLinearization"::enabledModules;
end if;
Expand Down

0 comments on commit aaf775e

Please sign in to comment.