Opened 7 years ago

Closed 7 years ago

#4816 closed defect (duplicate)

Problem with arrays in template generation after NF flattening

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Modelica.Blocks.Examples.NoiseExamples.Distributions. At the end of the code generation phase, the following errors are reported:

[CodegenCFunctions.tpl:4819:15-4819:15:writable]
Error: Template error: This should have been handled in indexed assign
and should not have gotten here. state[1:2].
[CodegenCFunctions.tpl:4819:15-4819:15:writable]
Error: Template error: This should have been handled in indexed assign 
and should not have gotten here. state[i:i + 1].

This issue affects many other models in the MSL.

Change History (1)

comment:1 by Francesco Casella, 7 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #4760, sorry.

Note: See TracTickets for help on using tickets.