Skip to content

Commit

Permalink
- Fix for vectorized delays
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10006 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Oct 5, 2011
1 parent 5be56ad commit d35462f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/Static.mo
Expand Up @@ -4524,7 +4524,7 @@ algorithm
Absyn.Path path;
DAE.Exp e1,e2;
DAE.CallAttributes attr;
case ((DAE.CALL(path, {e1,e2}, attr),_)) then ((DAE.CALL(path, {e1,e2,e2}, attr),1)); // stupid, eh?
case ((DAE.CALL(path as Absyn.IDENT("delay"), {e1,e2}, attr),_)) then ((DAE.CALL(path, {e1,e2,e2}, attr),1)); // stupid, eh?
else exp;
end match;
end elabBuiltinDelay2;
Expand Down

0 comments on commit d35462f

Please sign in to comment.