Skip to content

Commit

Permalink
- added workaround for algorithms from modelicaML models
Browse files Browse the repository at this point in the history
 - added also a testcase for that issue


git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9343 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Willi Braun committed Jun 22, 2011
1 parent 1fdf393 commit dd33010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/SimCode.mo
Expand Up @@ -2024,7 +2024,7 @@ algorithm
blt_states1=Util.if_(ifcpp,comps,blt_states);

(contBlocks, discBlocks) = splitOutputBlocks(dlow2, ass1, ass2, m, mt, blt_no_states1);
contBlocks1=Util.if_(ifcpp,discBlocks,contBlocks);
contBlocks1=Util.if_(ifcpp,discBlocks,blt_no_states1);
odeEquations = createEquations(false, false, ifcpp, false, false, dlow2, ass1, ass2, blt_states1, helpVarInfo);
algebraicEquations = createEquations(ifcpp, false, ifcpp, false, false, dlow2, ass1, ass2, contBlocks1, helpVarInfo);
allEquations = createEquations(true, false, true, false, false, dlow2, ass1, ass2, comps, helpVarInfo);
Expand Down

0 comments on commit dd33010

Please sign in to comment.