Skip to content

Commit

Permalink
fix ticket:3846
Browse files Browse the repository at this point in the history
  • Loading branch information
Willi Braun authored and OpenModelica-Hudson committed May 12, 2016
1 parent 9c5ab12 commit 9d8edb6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Compiler/BackEnd/BackendDAEUtil.mo
Expand Up @@ -2997,9 +2997,6 @@ algorithm
list<Integer> irest;
Integer i;
case ({},{},_,_) then vars;
/*If variable x is a state, der(x) is a variable in incidence matrix,
x is inserted as negative value, since it is needed by debugging and
index reduction using dummy derivatives */
case (BackendDAE.VAR(varKind = BackendDAE.JAC_DIFF_VAR())::rest,i::irest,_,_)
equation
failure(_ = List.getMemberOnTrue(i, vars, intEq));
Expand Down Expand Up @@ -3038,7 +3035,7 @@ algorithm
failure(_ = List.getMemberOnTrue(i, vars, intEq));
then incidenceRowExp1(rest,irest,i::vars,diffindex);
case (_ :: rest,_::irest,_,_)
then incidenceRowExp1(rest,irest,vars,diffindex);
then vars;
end matchcontinue;
end incidenceRowExp1withInput;

Expand Down

0 comments on commit 9d8edb6

Please sign in to comment.