Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit f992d19

Browse files
author
Willi Braun
committed
let linearize also run in numerical mode
1 parent 3775ade commit f992d19

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Compiler/Script/CevalScriptBackend.mo

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1418,8 +1418,6 @@ algorithm
14181418

14191419
System.realtimeTick(ClockIndexes.RT_CLOCK_SIMULATE_TOTAL);
14201420

1421-
b = Flags.getConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION);
1422-
Flags.setConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION, true);
14231421
(cache,st,compileDir,executable,_,outputFormat_str,_,simflags,resultValues) = buildModel(cache,env,vals,st_1,msg);
14241422
Values.REAL(linearizeTime) = getListNthShowError(vals,"try to get stop time",0,2);
14251423
executableSuffixedExe = stringAppend(executable, System.getExeExt());
@@ -1451,8 +1449,6 @@ algorithm
14511449
simValue = createSimulationResultFailure(res, simOptionsAsString(vals));
14521450
newst = st;
14531451
end if;
1454-
//reset config flag
1455-
Flags.setConfigBool(Flags.GENERATE_SYMBOLIC_LINEARIZATION, b);
14561452
then
14571453
(cache,simValue,newst);
14581454

0 commit comments

Comments
 (0)