Opened 14 years ago
Last modified 8 years ago
#1575 new defect
Really bad code generation for parameter arrays set via a function call...
| Reported by: | Adrian Pop | Owned by: | Adrian Pop |
|---|---|---|---|
| Priority: | high | Milestone: | Future |
| Component: | Simulation Code Generation | Version: | |
| Keywords: | Cc: | Adrian Pop |
Description
This model:
model Bad parameter Real x[10000] = fcall(constants); end Bad;
generates really bad code that calls fcall 10000 times and then sets the x for that index.
Note:
See TracTickets
for help on using tickets.

See also #1283 and references therein