Skip to content

Commit

Permalink
- when deducing unknown dimensions from modifiers handle also matrix,…
Browse files Browse the repository at this point in the history
… not only array.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@17691 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Oct 14, 2013
1 parent aa38134 commit 778fde2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Compiler/FrontEnd/Expression.mo
Original file line number Diff line number Diff line change
Expand Up @@ -1697,6 +1697,7 @@ algorithm
Exp e;

case DAE.ARRAY(ty = tp) then arrayDimension(tp);
case DAE.MATRIX(ty = tp) then arrayDimension(tp);
case DAE.LUNARY(exp = e) then expDimensions(e);
case DAE.LBINARY(exp1 = e) then expDimensions(e);
end match;
Expand Down

0 comments on commit 778fde2

Please sign in to comment.