From 65d5d6ca80c3b5ac4a60cb5cc378dc1d6ef0b5f6 Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Tue, 7 May 2019 14:04:07 +0200 Subject: [PATCH 1/2] Prefer tearing variables with start value for initialization --- Compiler/Util/Flags.mo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Compiler/Util/Flags.mo b/Compiler/Util/Flags.mo index 4d656693a6..9ec940ae9b 100644 --- a/Compiler/Util/Flags.mo +++ b/Compiler/Util/Flags.mo @@ -1368,7 +1368,7 @@ constant ConfigFlag DYNAMIC_TEARING_FOR_INITIALIZATION = CONFIG_FLAG(104, "dynam NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(), Util.gettext("Enable Dynamic Tearing also for the initialization system.")); constant ConfigFlag PREFER_TVARS_WITH_START_VALUE = CONFIG_FLAG(105, "preferTVarsWithStartValue", - NONE(), EXTERNAL(), BOOL_FLAG(false), NONE(), + NONE(), EXTERNAL(), BOOL_FLAG(true), NONE(), Util.gettext("Prefer tearing variables with start value for initialization.")); constant ConfigFlag EQUATIONS_PER_FILE = CONFIG_FLAG(106, "equationsPerFile", NONE(), EXTERNAL(), INT_FLAG(2000), NONE(), From 94b984e8945a059663fcf32d14f9d59670f20bc3 Mon Sep 17 00:00:00 2001 From: Lennart Ochel Date: Tue, 7 May 2019 14:05:15 +0200 Subject: [PATCH 2/2] Remove some unnecessary documentation strings --- Compiler/BackEnd/BackendDAEUtil.mo | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Compiler/BackEnd/BackendDAEUtil.mo b/Compiler/BackEnd/BackendDAEUtil.mo index 3d247acf5d..d2b3fc3e1e 100644 --- a/Compiler/BackEnd/BackendDAEUtil.mo +++ b/Compiler/BackEnd/BackendDAEUtil.mo @@ -7521,14 +7521,12 @@ end createGlobalKnownVarsEquations; ************************************************/ public function getIndexReductionMethodString -" function: getIndexReductionMethodString" output String strIndexReductionMethod; algorithm strIndexReductionMethod := Config.getIndexReductionMethod(); end getIndexReductionMethodString; public function getIndexReductionMethod -" function: getIndexReductionMethod" input Option ostrIndexReductionMethod; output tuple IndexReductionMethod; protected @@ -7545,7 +7543,6 @@ algorithm end getIndexReductionMethod; protected function selectIndexReductionMethod -" function: selectIndexReductionMethod" input String strIndexReductionMethod; input list> inIndexReductionMethods; output tuple outIndexReductionMethod; @@ -7582,14 +7579,12 @@ end selectIndexReductionMethod; ************************************************/ public function getMatchingAlgorithmString -" function: getMatchingAlgorithmString" output String strMatchingAlgorithm; algorithm strMatchingAlgorithm := Config.getMatchingAlgorithm(); end getMatchingAlgorithmString; public function getMatchingAlgorithm -" function: getIndexReductionMethod" input Option ostrMatchingAlgorithm; output tuple matchingAlgorithm; protected @@ -7621,7 +7616,6 @@ algorithm end getMatchingAlgorithm; protected function selectMatchingAlgorithm -" function: selectMatchingAlgorithm" input String strMatchingAlgorithm; input list> inMatchingAlgorithms; output tuple outMatchingAlgorithm;