Opened 7 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: | Francesco Casella | Owned by: | Per Östlund |
---|---|---|---|
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 by , 7 years ago
comment:2 by , 6 years ago
Priority: | high → normal |
---|
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
This has been fixed for a while now, function calls with constant arguments are now evaluated like in the old frontend.
Note:
See TracTickets
for help on using tickets.
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.