Opened 15 years ago

Last modified 15 years ago

#1194 closed defect (fixed)

Final array parameter with fixed=false gives fixed=true when set in initial equation

Reported by: Per Östlund Owned by: Per Östlund
Priority: high Milestone:
Component: Version:
Keywords: Cc: Per Östlund, Per Östlund

Description

The model

model FixedFinalParameter
  final parameter Real p[3](each fixed = false);
initial equation
  p = {1.0, 2.0, 3.0};
end FixedFinalParameter;

gives the warning

Warning: Parameter p has no value, and is fixed during initialization (fixed=true)

Change History (1)

comment:1 by Per Östlund, 15 years ago

Fixed in revision 5320.

Note: See TracTickets for help on using tickets.