Opened 7 years ago

Closed 7 years ago

#4846 closed defect (fixed)

Issues with function with multiple outputs

Reported by: Francesco Casella Owned by: Per Östlund
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 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed
Summary: Issues with slicing in NFIssues 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.