Opened 14 years ago

Last modified 14 years ago

#1414 closed defect (fixed)

Code generation causes ASUB_EASY_CASE to be emitted when doing ASUB operations on range-expressions

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Martin Sjölund,

Description

{{{ class ArrayCall

function fn

input Real r;
output Real array[10];

algorithm

array := cos(r*(1:10.0));

end fn;
Real x[10] = fn(time);

end ArrayCall;}}}

Change History (1)

comment:1 by Martin Sjölund, 14 years ago

This particular example now works due to ExpressionSimplify removing the asubs

Note: See TracTickets for help on using tickets.