Changeset 13909


Ignore:
Timestamp:
2012-11-15T21:32:01+01:00 (11 years ago)
Author:
jfrenkel
Message:
  • bugfix for r13850, add when equations not to ode or algebraic equations
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Compiler/BackEnd/SimCodeUtil.mo

    r13907 r13909  
    33853385        (equations1,uniqueEqIndex,tempvars) = createSingleWhenEqnCode(listGet(eqnlst,1),varlst,helpVarInfo,shared,iuniqueEqIndex,itempvars);
    33863386        (odeEquations,algebraicEquations,allEquations,uniqueEqIndex,tempvars) = createEquationsForSystem1(stateeqnsmark, syst, shared, restComps, helpVarInfo,uniqueEqIndex,tempvars);
    3387         odeEquations = Debug.bcallret2(bdynamic, listAppend, equations1, odeEquations,odeEquations);
    3388         algebraicEquations = Debug.bcallret2((not bdynamic), listAppend, equations1, algebraicEquations,algebraicEquations);
    33893387        allEquations = listAppend(equations1,allEquations);
    33903388      then
Note: See TracChangeset for help on using the changeset viewer.