Opened 19 years ago

Last modified 18 years ago

#44 closed defect (fixed)

Lookup of functions through imports does not work.

Reported by: Peter Aronsson Owned by: Peter Aronsson
Priority: critical Milestone:
Component: Version:
Keywords: Cc: Peter Aronsson, Adrian Pop

Description


Change History (2)

comment:1 by Peter Aronsson, 19 years ago

Lookup of functions through imports does not work.

Minmial example:

model imptest

import Modelica_Math_exp = Modelica.Math.exp;
Real x;

equation

der(x)=Modelica_Math_exp(-x);

end imptest;

comment:2 by Adrian Pop, 18 years ago

This seems to work now:
"fclass imptest
Real x;
equation

der(x) = Modelica.Math.exp(-x);

end imptest;
"
record

resultFile = "imptest_res.plt"

end record

I'll close the bug.

Note: See TracTickets for help on using tickets.