Opened 16 years ago
Closed 10 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 by , 15 years ago
comment:2 by , 10 years ago
Cc: | krsta, → krsta |
---|---|
Component: | → Backend |
Resolution: | → fixed |
Status: | assigned → closed |
This seems to have been fixed some time ago.
Note:
See TracTickets
for help on using tickets.
http://intranet/trac/mathmodelica/ticket/490