Opened 7 years ago
Last modified 7 years ago
#4761 closed defect
Wrong typing in NF breaks generated code — at Version 1
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description (last modified by )
Please consider Modelica.Blocks.Examples.Interaction1. The following error is obtained
Modelica_3.2.2_Modelica.Blocks.Examples.RealNetwork1.c:151:62: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'modelica_metatype' (aka 'void *') data->localData[0]->realVars[5] /* minMax.yMin variable */ = tmpMeta[0]; ^ ~~~~~~~~~~
Apparently, the value assigned to the variable minMax.yMin
has not been given the right type.
Note:
See TracTickets
for help on using tickets.