Opened 11 years ago
Closed 10 years ago
#2739 closed defect (fixed)
Redeclared functions do not get a new name
Reported by: | Martin Sjölund | Owned by: | somebody |
---|---|---|---|
Priority: | high | Milestone: | 1.9.1 |
Component: | Frontend | Version: | trunk |
Keywords: | Cc: | Adrian Pop, Per Östlund |
Description
In the attached model, there is a redeclare function PSD = .Noise.PSD.PSD_LinearInterpolation(n = 5)
. In current omc, a call to Noise.PRNG.SampleFreePSD0 will be generated, with 5, 5
added as extra arguments. With the FFrontEnd branch, 1, 1
is generated instead.
Attachments (1)
Change History (3)
by , 11 years ago
Attachment: | ComparePSD.mo added |
---|
comment:1 by , 11 years ago
comment:2 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r22600 (well, earlier but now there are 2 tests for it).
Note:
See TracTickets
for help on using tickets.
Note that this is too many arguments for SampleFreePSD0. I was unable to generate flat code in Dymola to see what it thinks should be generated (too complex model, due to using external functions and the license was borrowed).