Opened 14 years ago

Closed 12 years ago

#1195 closed task (fixed)

Probable issue with nested min/max functions

Reported by: perob88 Owned by: perob88
Priority: high Milestone:
Component: Code Generation Version:
Keywords: Cc: perob88

Description

The following modelica code generates c-code that does not compile...

class buggtrigger
  parameter  Real a = 1;
  parameter  Real b = 2;
  parameter  Real c = 3;

Real d;
equation
  d = min(max(a,b),min(c,5));
end buggtrigger;

Change History (1)

comment:1 Changed 12 years ago by perost

  • Cc changed from perob88, to perob88
  • Component set to Code Generation
  • Resolution set to fixed
  • Status changed from new to closed

This was probably fixed a long time ago, the model now compiles and simulates correctly.

Note: See TracTickets for help on using tickets.