Skip to content

Commit

Permalink
- fixes to Compiler/BackEnd/BackendQSS.mo to be able to compile. WARN…
Browse files Browse the repository at this point in the history
…ING! i don't know if my fix is correct!

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8865 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed May 7, 2011
1 parent 5f2e458 commit 52203b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Compiler/BackEnd/BackendQSS.mo
Expand Up @@ -164,7 +164,7 @@ algorithm
// MAP STATE EQUATIONS BACK TO BLT BLOCKS

stateEq_blt = mapEquationsInBLTBlocks( stateEq_flat, blt_states, {}) "Map state equations back in BLT blocks";
whenEq_blt = mapStateEqInBlocks( whenEq_flat, blt_states, {}) "Map when equations back in BLT blocks";
whenEq_blt = mapEquationsInBLTBlocks( whenEq_flat, blt_states, {}) "Map when equations back in BLT blocks";

// More info, variables and parameters
eqs = Util.listMap3(stateEq_blt, generateEqFromBlt,dlow,ass1,ass2);
Expand Down Expand Up @@ -2532,7 +2532,7 @@ algorithm
then(state_blocks);
case (cur_state :: rest_states, blt_states, state_blocks)
equation
cur_state_blocks = mapStateEqInBlocks2(cur_state, blt_states, {});
cur_state_blocks = mapEquationsInBLTBlocks2(cur_state, blt_states, {});
current_state_blocks = listAppend(state_blocks, {cur_state_blocks});
state_blocks = mapEquationsInBLTBlocks(rest_states, blt_states, current_state_blocks);
then
Expand Down

0 comments on commit 52203b5

Please sign in to comment.