Opened 15 years ago
Closed 9 years ago
#1053 closed defect (fixed)
[Tiller] No constant binding for variable num (problem with record?) (from MathCore)
Reported by: | krsta | Owned by: | krsta |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | Backend | Version: | |
Keywords: | Cc: | krsta |
Description
Build fails when simulating the model BookExamples.Chapter5.TestComplexWave. I do not really understand the error message, but it says "No constant binding for variable num in scope BookExamples.Chapter5.TestComplexWave.Data".
As data is a record I guess that the error might have something to do with this.
record Data constant Integer num "Number of waves"; Real a[num] "Wave amplitudes"; Modelica.SIunits.Frequency f[num] "Wave frequencies"; Modelica.SIunits.Angle phase[num] "Wave phase offset"; end Data;
Attachments (1)
Change History (3)
comment:1 Changed 14 years ago by brugard
comment:2 Changed 9 years ago by perost
- Cc changed from krsta, to krsta
- Component set to Backend
- Resolution set to fixed
- Status changed from assigned to closed
This seems to have been fixed some time ago.
http://intranet/trac/mathmodelica/ticket/490