Changeset 41d4cef in OpenModelica for Compiler/BackEnd/Matching.mo


Ignore:
Timestamp:
2016-04-06T10:54:48+02:00 (8 years ago)
Author:
hkiel <henning.kiel@…>
Branches:
Added-citation-metadata, maintenance/v1.14, maintenance/v1.15, maintenance/v1.16, maintenance/v1.17, maintenance/v1.18, maintenance/v1.19, maintenance/v1.20, maintenance/v1.21, maintenance/v1.22, maintenance/v1.23, master, omlib-staging
Children:
e8fbdf6
Parents:
7d8f15f2
Message:

avoid copying tuples
recursion -> loop (BackendVariable.getVarLst)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Compiler/BackEnd/Matching.mo

    r18c51d6e r41d4cef  
    56595659    (hasNoDerAnno,noDerInputs) := BackendDAEUtil.isFuncCallWithNoDerAnnotation(eq,functionTree);
    56605660    if hasNoDerAnno then
    5661       (_,varIdxs) := BackendVariable.getVarLst(noDerInputs,vars,{},{});
     5661      (_,varIdxs) := BackendVariable.getVarLst(noDerInputs,vars);
    56625662        //print("remove edges between eq: "+intString(idx)+" and vars "+stringDelimitList(List.map(varIdxs,intString),", ")+"\n");
    56635663      //update m
Note: See TracChangeset for help on using the changeset viewer.