Opened 7 years ago

Closed 7 years ago

#4816 closed defect (duplicate)

Problem with arrays in template generation after NF flattening

Reported by: casella Owned by: perost
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 Changed 7 years ago by casella

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #4760, sorry.

Note: See TracTickets for help on using tickets.