Ignore:
Timestamp:
2024-04-30T14:24:33+02:00 (5 weeks ago)
Author:
GitHub <noreply@…>
Branches:
master
Children:
337cd072, aa44a2d, b54ace2b
Parents:
6c4e231
git-author:
Per Östlund <per.ostlund@…> (04/30/24 14:24:33)
git-committer:
GitHub <noreply@…> (04/30/24 14:24:33)
Message:

Fix creation of binding equations from start values (#12354)

  • Unpropagate the binding when copying it from the start attribute to the component.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/Compiler/NFFrontEnd/NFSubscript.mo

    ra024851 r996337bf  
    12751275  end isSplitClassProxy;
    12761276
     1277  function isSplitFromOrigin
     1278    input Subscript sub;
     1279    input InstNode origin;
     1280    output Boolean res;
     1281  algorithm
     1282    res := match sub
     1283      case SPLIT_PROXY() then InstNode.refEqual(origin, sub.origin);
     1284      else false;
     1285    end match;
     1286  end isSplitFromOrigin;
     1287
    12771288  function expandSplitIndices
    12781289    input list<Subscript> subs;
Note: See TracChangeset for help on using the changeset viewer.