Skip to content

Commit

Permalink
Fixed the function Static.elabBuiltinTranspose2.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/MathCoreOSMC@3996 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Alexey Lebedev committed Apr 6, 2009
1 parent 4edcf8c commit fa8f3e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Compiler/Static.mo
Expand Up @@ -2848,7 +2848,8 @@ algorithm
case (elst,indx,dim1)
equation
(indx <= dim1) = true;
(e :: es) = Util.listMap1(elst, Exp.nthArrayExp, indx);
indx_1 = indx - 1;
(e :: es) = Util.listMap1(elst, Exp.nthArrayExp, indx_1);
tp = Exp.typeof(e);
indx_1 = indx + 1;
rest = elabBuiltinTranspose2(elst, indx_1, dim1);
Expand Down

0 comments on commit fa8f3e1

Please sign in to comment.