Opened 5 years ago

Closed 5 years ago

#4410 closed defect (fixed)

Dummy derivative variables not transferred with correct names in CasADiInterface

Reported by: toivo Owned by: toivo
Priority: major Milestone: 1.16.x
Component: CasADiInterface Version: trunk
Keywords: Cc:

Description (last modified by toivo)

E.g., a dummy derivative variable _der_x is transferred with the name x, which will collide with the name of the base variable it is derived from. Use FVariable.displayName() instead of getFQName(), and don't take names from an FIdUse. Also need to make displayName() apply to FAbstractVariable.

Change History (4)

comment:1 Changed 5 years ago by toivo

Description: modified (diff)

comment:2 Changed 5 years ago by jsten

changeset:7696
Moved base declaration of the method displayName() from FVariable to FAbstractVariable.

comment:3 Changed 5 years ago by toivo

Use displayName when naming all FVariables as MX variables, in r7714. Also remove FIdUse.toMX(), which was never used, and was more or less a copy of the same method for FIdUseExp.

comment:4 Changed 5 years ago by toivo

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.