Opened 6 years ago

Closed 6 years ago

#4846 closed defect (fixed)

Issues with function with multiple outputs

Reported by: casella Owned by: perost
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check the Modelica.Mechanics.Rotational.Examples.Friction model. The compiler reports the following error:

Error: Cannot resolve type of expression  - 
Modelica.Math.Vectors.interpolate(clutch.mue_pos[:, 1], clutch.mue_pos[:, 2], clutch.w_rel, 1). 
The operands have types (Real, Integer) in component <NO_COMPONENT>.

Several models in the MSL fail because of this isssue.

Change History (1)

comment:1 Changed 6 years ago by perost

  • Resolution set to fixed
  • Status changed from new to closed
  • Summary changed from Issues with slicing in NF to Issues with function with multiple outputs

Fixed in a4776a6. This makes the model flatten, and with an additional fix currently being processed by Hudson the model also simulates.

Note: See TracTickets for help on using tickets.