Skip to content

Commit

Permalink
- Fix RML.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@20423 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
perost committed May 7, 2014
1 parent 31de92b commit 1df29e9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Compiler/Util/List.mo
Expand Up @@ -9294,8 +9294,14 @@ algorithm
local
ElementInType ei;
list<ElementInType> rest_ei;
ElementOutType oe;

case (ei :: _, _) then inFindFunc(ei);
case (ei :: _, _)
equation
oe = inFindFunc(ei);
then
oe;

case (_ :: rest_ei, _) then find(rest_ei, inFindFunc);

end matchcontinue;
Expand Down

0 comments on commit 1df29e9

Please sign in to comment.