Skip to content

Commit

Permalink
Fix _dimReal to size expected by getReal and setReal, including alias…
Browse files Browse the repository at this point in the history
…es and states

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@25222 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
rfranke committed Mar 23, 2015
1 parent 20e53ec commit 56bd4dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/Template/CodegenCpp.tpl
Expand Up @@ -8629,7 +8629,7 @@ then
_dimBoolean = <%vi.numBoolAlgVars%> + <%vi.numBoolParams%>;
_dimInteger = <%vi.numIntAlgVars%> + <%vi.numIntParams%>;
_dimString = <%vi.numStringAlgVars%> + <%vi.numStringParamVars%>;
_dimReal = <%vi.numAlgVars%> + <%vi.numDiscreteReal%> + <%vi.numParams%>;
_dimReal = <%vi.numStateVars%> + <%vi.numStateVars%> + <%vi.numAlgVars%> + <%vi.numAlgAliasVars%> + <%vi.numDiscreteReal%> + <%vi.numParams%>;
>>
end dimension1;

Expand Down

0 comments on commit 56bd4dc

Please sign in to comment.