Skip to content

Commit

Permalink
- fix bug from last commit
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14685 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Jan 7, 2013
1 parent fc96530 commit f4b28f2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Compiler/BackEnd/IndexReduction.mo
Expand Up @@ -5765,8 +5765,9 @@ algorithm
v := BackendVariable.getVarAt(vars,intAbs(i));
s := BackendVariable.varStateSelect(v);
si := BackendVariable.stateSelectToInteger(s);
b := BackendVariable.isStateVar(v);
oRow := List.consOnTrue(intLt(si,0) or not b,i,iRow);
oRow := List.consOnTrue(intLt(si,0),i,iRow);
// b := BackendVariable.isStateVar(v);
// oRow := List.consOnTrue(intLt(si,0) or not b,i,iRow);
end incidenceMatrixElementElementfromEnhanced2_1;

protected function checkAssignment
Expand Down

0 comments on commit f4b28f2

Please sign in to comment.