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

Commit

Permalink
reset BackendDAE after replace simplifid expressions for lambda=0
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi authored and OpenModelica-Hudson committed Jan 19, 2017
1 parent 0ed97da commit 8788348
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Compiler/BackEnd/Initialization.mo
Original file line number Diff line number Diff line change
Expand Up @@ -2524,6 +2524,8 @@ algorithm
_ := BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate(eqs.orderedEqs, replaceHomotopyWithSimplified1, false);
_ := BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate(eqs.removedEqs, replaceHomotopyWithSimplified1, false);
end for;
outDAE.eqs := list(BackendDAEUtil.clearEqSyst(eqs) for eqs in outDAE.eqs);
outDAE := BackendDAEUtil.transformBackendDAE(outDAE,SOME((BackendDAE.NO_INDEX_REDUCTION(),BackendDAE.EXACT())),NONE(),NONE());

This comment has been minimized.

Copy link
@lochel

lochel Jan 19, 2017

Member

@wibraun Why do you call the function BackendDAEUtil.transformBackendDAE here?

This comment has been minimized.

Copy link
@wibraun

wibraun Jan 19, 2017

Member

@lochel where do you prefer?

This comment has been minimized.

Copy link
@lochel

lochel Jan 19, 2017

Member

@wibraun I would prefer to just remove it as I did already with 6ed4cfd.

end replaceHomotopyWithSimplified;

protected function replaceHomotopyWithSimplified1
Expand Down

0 comments on commit 8788348

Please sign in to comment.