Skip to content

Commit

Permalink
fix functionTree propogation for system homotopy0
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed Mar 2, 2016
1 parent dc5bdff commit 1d8aec6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/BackEnd/Initialization.mo
Expand Up @@ -211,8 +211,10 @@ algorithm

// compute system for lambda=0
if useHomotopy then
initdae0 := BackendDAEUtil.setFunctionTree(initdae0, BackendDAEUtil.getFunctions(initdae.shared));
initdae0 := BackendDAEUtil.postOptimizeDAE(initdae0, (replaceHomotopyWithSimplified, "replaceHomotopyWithSimplified")::initOptModules, matchingAlgorithm, daeHandler);
outInitDAE_lambda0 := SOME(initdae0);
initdae := BackendDAEUtil.setFunctionTree(initdae, BackendDAEUtil.getFunctions(initdae0.shared));
else
outInitDAE_lambda0 := NONE();
end if;
Expand Down

0 comments on commit 1d8aec6

Please sign in to comment.