Opened 12 years ago

Last modified 12 years ago

#1821 closed defect

Complex constructor does not work — at Initial Version

Reported by: Martin Sjölund Owned by: Mahder Alemseged Gebremedhin
Priority: high Milestone: 1.9.0
Component: Frontend Version:
Keywords: Cc:

Description

In MSL 3.2.1 Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench (among others) use Complex numbers. The constructor call is Complex(0), which should work. But the code does not take into consideration that we need to look for the constructor, saying im is unbound.

[/home/marsj/trunk/build/lib/omlibrary/Modelica 3.2.1/Electrical/QuasiStationary/MultiPhase.mo:388:9-388:66:writable] Error: Function argument im was not given by the function call, and does not have a default value.

Change History (0)

Note: See TracTickets for help on using tickets.