Skip to content

Commit

Permalink
- fix the number of elements in Util.listFill call inside lowerComple…
Browse files Browse the repository at this point in the history
…xEqn.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5614 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed May 31, 2010
1 parent cc832a1 commit f41c316
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/DAELow.mo
Expand Up @@ -6005,7 +6005,7 @@ algorithm
// create as many equations as the dimension of the record
ty = Exp.typeof(e1);
i = Exp.sizeOf(ty);
complexEqs = Util.listFill(COMPLEX_EQUATION(-1,e1_2,e2_2,source), 1);
complexEqs = Util.listFill(COMPLEX_EQUATION(-1,e1_2,e2_2,source), i);
then
complexEqs;
// initial
Expand All @@ -6019,7 +6019,7 @@ algorithm
// create as many equations as the dimension of the record
ty = Exp.typeof(e1);
i = Exp.sizeOf(ty);
complexEqs = Util.listFill(COMPLEX_EQUATION(-1,e1_2,e2_2,source), 1);
complexEqs = Util.listFill(COMPLEX_EQUATION(-1,e1_2,e2_2,source), i);
then
complexEqs;
case (_)
Expand Down

0 comments on commit f41c316

Please sign in to comment.