Opened 19 years ago

Last modified 18 years ago

#65 closed defect (fixed)

Simulation code does not cast parameters to double when calling pow

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

Description


Change History (2)

comment:1 by Adrian Pop, 19 years ago

Simulation code does not cast
parameters to double when calling
pow.

Because of this, the C compiler gets confused
and doesn't know which pow to call.

http://www.ida.liu.se/~adrpo/omc/errors/omc-pow-problems.tar.bz2

Adrian/

comment:2 by Adrian Pop, 18 years ago

Fixed in the Subversion repository, revision 2613 by casting
the pow(x, y) arguments to modelica_real within Codegen.mo

Note: See TracTickets for help on using tickets.