Opened 7 years ago

Closed 7 years ago

#4776 closed enhancement (duplicate)

threaded for loop outside of list

Reported by: wbraun Owned by: sjoelund.se
Priority: normal Milestone: Future
Component: MetaModelica Version:
Keywords: Cc:

Description

It is possible to use threaded for loop in lists, something like:

out = list( func(e,v) threaded for e in inEqns, v in inVars);

Wouldn't it be also nice to have such construct in regular loop, something like:

equation
  threaded for e in inEqns, v in inVars loop
    extraArgs = traverserStrongComponents({e}, {v}, {}, {}, extraArgs);
  end for; 

Change History (1)

comment:1 Changed 7 years ago by perost

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #2874.

Note: See TracTickets for help on using tickets.