Changeset eb2fc178 in OpenModelica


Ignore:
Timestamp:
2021-04-12T19:41:52+02:00 (3 years ago)
Author:
Karim Abdelhak <karim.abdelhak@…>
Children:
0025b8c3
Parents:
91c7501
git-author:
Karim Abdelhak <karim.abdelhak@…> (04/12/21 19:38:20)
git-committer:
Karim Abdelhak <karim.abdelhak@…> (04/12/21 19:41:52)
Message:

[BE] update array entries in old jacobian

  • old jacobian still used for constant jacobians
  • broke with models using implicit stuff like {-x, y} = f();
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo

    r05d9e01 reb2fc178  
    35793579  output list<tuple<Integer, Integer, BackendDAE.Equation>> outLst = iAcc;
    35803580  output BackendDAE.Shared oShared = iShared;
     3581protected
     3582  Integer eqn_indx_arr = eqn_indx;
    35813583algorithm
    35823584  for e in inExps loop
    3583     (outLst, oShared) := calculateJacobianRow2(e,vars,eqn_indx,inIntegerLst,differentiateIfExp,oShared,source,outLst);
     3585    (outLst, oShared) := calculateJacobianRow2(e,vars,eqn_indx_arr,inIntegerLst,differentiateIfExp,oShared,source,outLst);
     3586    eqn_indx_arr := eqn_indx_arr + 1;
    35843587  end for;
    35853588end calculateJacobianRowLst;
Note: See TracChangeset for help on using the changeset viewer.