Skip to content

Commit

Permalink
- fix algebraic loop in algorithm for undifferentiable subsets
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15440 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Jens Frenkel committed Mar 2, 2013
1 parent 506b66f commit 2775756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/BackEnd/IndexReduction.mo
Expand Up @@ -1145,7 +1145,7 @@ algorithm
(syst,ishared,ass1,ass2,inStateOrd,inOrgEqnsLst,mapEqnIncRow,mapIncRowEqn);

// if size of unmatched eqns is equal to size of states without used derivative change all to algebraic
case (true,_,_,_,_,BackendDAE.EQSYSTEM(v,eqns,SOME(m),SOME(mt),matching,stateSets),_,_,_,_,_,_,_)
case (true,_::_,_,_,_,BackendDAE.EQSYSTEM(v,eqns,SOME(m),SOME(mt),matching,stateSets),_,_,_,_,_,_,_)
equation
// change varKind
varlst = List.map1r(statesWithUnusedDer,BackendVariable.getVarAt,v);
Expand Down

0 comments on commit 2775756

Please sign in to comment.