Skip to content

Commit

Permalink
-Fixed bug in unconnected flow equations not begin prefixed.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/branches/MathCoreOSMC@4006 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Apr 23, 2009
1 parent 2e8d853 commit 9a44af2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Connect.mo
Expand Up @@ -1352,7 +1352,7 @@ algorithm
cr2 = Prefix.prefixCref(prefix,cr);
arrType = Exp.T_ARRAY(Exp.REAL(),dimSizesOpt);
dimExps = {Exp.ICONST(0),Exp.ICONST(0),Exp.ICONST(0)};
res1 = generateZeroflowArrayEquations(cr, dimSizes, Exp.RCONST(0.0));
res1 = generateZeroflowArrayEquations(cr2, dimSizes, Exp.RCONST(0.0));
res = listAppend(res1,res);
then
(cache,res);
Expand Down

0 comments on commit 9a44af2

Please sign in to comment.