Opened 14 years ago
Last modified 14 years ago
#1236 closed defect (fixed)
constant evaluation of product in nested for iterators fails
Reported by: | Peter Aronsson | Owned by: | Peter Aronsson |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Version: | ||
Keywords: | Cc: | Peter Aronsson, |
Description
The following example from ModelicaReference does not work to constant evaluate:
{product(j for j in 1:i) for i in 0:4}
Note:
See TracTickets
for help on using tickets.
Fixed in revision 5868, see extended test case mofiles/ConstantReductions.mo.