Opened 8 years ago
Last modified 8 years ago
#4761 closed defect
Wrong typing in NF breaks generated code — at Initial Version
| Reported by: | Francesco Casella | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | high | Milestone: | 2.0.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: |
Description
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 variable minMax.yMin has not been given the right type.
Note:
See TracTickets
for help on using tickets.
