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}

Change History (1)

comment:1 by Per Östlund, 14 years ago

Fixed in revision 5868, see extended test case mofiles/ConstantReductions.mo.

Note: See TracTickets for help on using tickets.