Skip to content

Commit

Permalink
- generate DAE.ARRAY_EQUATION from the equalityConstraint function in…
Browse files Browse the repository at this point in the history
…stead of DAE.EQUATION as otherwise the counting is wrong.

- update to testsuite/libraries/multibody/loops/Fourbar1.mos due to the changes above.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@5472 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed May 7, 2010
1 parent 55a6fbc commit f6c0ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Inst.mo
Expand Up @@ -13925,7 +13925,7 @@ algorithm
// dae to be added in the case where the edge is broken.
zeroVector = Exp.makeRealArrayOfZeros(dim1);
breakDAEElements =
{DAE.EQUATION(zeroVector,
{DAE.ARRAY_EQUATION({dim1}, zeroVector,
DAE.CALL(fpath1,{DAE.CREF(c1_1, DAE.ET_OTHER()), DAE.CREF(c2_1, DAE.ET_OTHER())},
false, false, DAE.ET_REAL(), inlineType1), // use the inline type
source // set the origin of the element
Expand Down

0 comments on commit f6c0ac1

Please sign in to comment.