Opened 14 years ago

Last modified 13 years ago

#1408 closed defect (fixed)

min (probably also max) don't work for all scalars

Reported by: sjoelund.se Owned by: sjoelund.se
Priority: high Milestone:
Component: Version:
Keywords: Cc: sjoelund.se,

Description

min(true, false)
min("abc", "def")
min(Enum.A, Enum.B)
min({true,false}) // Also reduction expressions...

Also does not work for records (how do these work anyway? using the overloaded operator functions?)

Change History (3)

comment:1 Changed 14 years ago by sjoelund.se

Works for bool now

comment:2 Changed 13 years ago by sjoelund.se

Waiting for https://trac.modelica.org/Modelica/ticket/499 to be put into the specification

comment:3 Changed 13 years ago by sjoelund.se

Removed support for min(string) and max(string) since the specification was updated

Note: See TracTickets for help on using tickets.