Opened 11 years ago

Closed 10 years ago

#2640 closed defect (fixed)

Handle functions with default bindings to inputs

Reported by: sjoelund.se Owned by: perost
Priority: high Milestone: 1.9.1
Component: Frontend Version: trunk
Keywords: Cc: adrpo, perost

Description

function f
  input Real x;
  input Real y := 2 * x;
  input Real z := x / y;
  output Real o;
algorithm
  o := x+y+z;
end f;
f(1+3);

Should be flattened to:

f(1+3,2*(1+3),(1+3)/(2*(1+3)));

Change History (1)

comment:1 Changed 10 years ago by perost

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r19848.

Note: See TracTickets for help on using tickets.