Skip to content

Commit

Permalink
- fix delay within symbolic initialization
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14767 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
lochel committed Jan 14, 2013
1 parent 268428d commit a5488d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/Initialization.mo
Expand Up @@ -815,7 +815,7 @@ algorithm
DAE.Exp e1;
case ((DAE.CALL(path = Absyn.IDENT(name="initial")), _)) then ((DAE.BCONST(true), true));
case ((DAE.CALL(path = Absyn.IDENT(name="sample")), _)) then ((DAE.BCONST(false), true));
case ((DAE.CALL(path = Absyn.IDENT(name="delay"), expLst = e1::_ ),_)) then ((e1, true));
case ((DAE.CALL(path = Absyn.IDENT(name="delay"), expLst = _::e1::_ ),_)) then ((e1, true));
else then inExp;
end matchcontinue;
end simplifyInitialFunktionsExp;
Expand Down

0 comments on commit a5488d9

Please sign in to comment.