Error Messages/40692

< Error Messages
Revision as of 21:01, 15 March 2016 by Bbecane (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Error message examples

 In a dynamic time offset, A[Time-k], the term being offset must be a variable identifier.
 You cannot use a dynamic offset of a general expression, (expr)[Time-k]

Cause

While defining a dynamic loop, you can only define offsets for variables, but not for expressions. You seem to have used a dynamic offset on an expression.

The following dynamic node description would trigger this error:

Dynamic(100, (Dynamic_node - 5)[Time - 1]*1.1)

The following code could be a possible fix for the above error:

Dynamic(100, (Dynamic_node[Time - 1]-5)*1.1)

Remedies

Change the indicated general expression to a variable.

See Also

Comments


You are not allowed to post comments.