Opened 11 years ago

Closed 11 years ago

#2441 closed defect (fixed)

FMI export: remove garbage we add to the integer if is an enumeration

Reported by: Adrian Pop Owned by: Adeel Asghar
Priority: high Milestone: 1.9.1
Component: FMI Version: trunk
Keywords: Cc:

Description

We currently generate this for enumerations:

<Integer start="3*/*ENUM:StateSelect.default*/*" fixed="true"/>

Which is not really conform to the FMI specification.
It should be:

<Integer start="3" fixed="true"/> 

Should be an easy fix in CodegenFMU.tpl

Change History (1)

comment:1 by Adeel Asghar, 11 years ago

Resolution: fixed
Status: newclosed

Fixed in r17882.

Note: See TracTickets for help on using tickets.