Opened 7 years ago

Closed 7 years ago

#4776 closed enhancement (duplicate)

threaded for loop outside of list

Reported by: Willi Braun Owned by: Martin Sjölund
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 by Per Östlund, 7 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #2874.

Note: See TracTickets for help on using tickets.