Opened 6 years ago
Closed 6 years ago
#4860 closed defect (fixed)
Table models in the ScalableTestSuite fail with NF because of lack of function evaluation
Reported by: | casella | Owned by: | perost |
---|---|---|---|
Priority: | normal | Milestone: | 2.0.0 |
Component: | New Instantiation | Version: | |
Keywords: | Cc: |
Description
The Table models of the ScalableTestSuite, see, e.g., ScalableTestSuite.Elementary.ParameterArrays.Verification.Table fail with a segfault.
Flattening the models with the NF reveals declarations such as
parameter Real tab[1,1] = ScalableTestSuite.Elementary.ParameterArrays.Models.f_tab(10, 5)[1, 1];
instead of
parameter Real tab[1,1] = 6.0;
produced by the old FE. I gues the problem here is the lack of function evaluation in the NF.
Change History (3)
comment:1 Changed 6 years ago by perost
comment:2 Changed 6 years ago by casella
- Priority changed from high to normal
comment:3 Changed 6 years ago by perost
- Resolution set to fixed
- Status changed from new to closed
This has been fixed for a while now, function calls with constant arguments are now evaluated like in the old frontend.
This still hasn't been fixed, but the models now simulate correctly anyway. I'll keep this ticket open for now though, since we should generally try to avoid subscripting function calls.