Skip to content

Commit f4b28f2

Browse files
author
Jens Frenkel
committed
- fix bug from last commit
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@14685 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent fc96530 commit f4b28f2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Compiler/BackEnd/IndexReduction.mo

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5765,8 +5765,9 @@ algorithm
57655765
v := BackendVariable.getVarAt(vars,intAbs(i));
57665766
s := BackendVariable.varStateSelect(v);
57675767
si := BackendVariable.stateSelectToInteger(s);
5768-
b := BackendVariable.isStateVar(v);
5769-
oRow := List.consOnTrue(intLt(si,0) or not b,i,iRow);
5768+
oRow := List.consOnTrue(intLt(si,0),i,iRow);
5769+
// b := BackendVariable.isStateVar(v);
5770+
// oRow := List.consOnTrue(intLt(si,0) or not b,i,iRow);
57705771
end incidenceMatrixElementElementfromEnhanced2_1;
57715772

57725773
protected function checkAssignment

0 commit comments

Comments
 (0)