#5582 closed defect (fixed)
The annotation InlineAfterIndexReduction is not included in the shown structural annotations
Reported by: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: | Lennart Ochel, Karim Adbdelhak |
Description
If one tries to flatten this model with -d=newInst --showStructuralAnnotations
model M function f input Real x; output Real y; algorithm y := sin(x) - 3; annotation(InlineAfterIndexReduction=true); end f; Real a = time; Real b = f(a); end M;
the annotation is not shown, as it should.
Change History (6)
comment:1 by , 5 years ago
Cc: | added |
---|
comment:2 by , 5 years ago
I updated the module, these are currently the structural annotations:
keep := match mod.ident case "Evaluate" then true; case "Inline" then true; case "LateInline" then true; case "derivative" then true; case "inverse" then true; case "smoothOrder" then true; case "InlineAfterIndexReduction" then true; else false; end match;
Anything else i should add before pushing?
comment:3 by , 5 years ago
I would add GenerateEvents
, which clearly has a structural impact on the code generation.
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
@lochel, @Karim, I couldn't figure out your latest comment in ticket #5170 until I understood I was missing something...