Opened 7 years ago
Closed 7 years ago
#5193 closed defect (fixed)
The NF does not evaluate parameters when setting -d=evaluateAllParameters
| Reported by: | Francesco Casella | Owned by: | Per Östlund |
|---|---|---|---|
| Priority: | high | Milestone: | 2.0.0 |
| Component: | New Instantiation | Version: | |
| Keywords: | Cc: |
Description
The following test model
model TestEvaluate parameter Real p = 10; Real x; equation x = time*p; end TestEvaluate;
with -d=newInst,evaluateAllParameters is flattened by the NF to
class TestEvaluate parameter Real p = 10.0; Real x; equation x = time * p; end TestEvaluate;
instead of
class TestEvaluate parameter Real p = 10.0; Real x; equation x = 10.0 * time; end TestEvaluate;
as the old front-end does.
Note:
See TracTickets
for help on using tickets.

Fixed in 407b2de.