Error Messages/40246

< Error Messages
Revision as of 19:36, 1 February 2010 by AManandhar (talk | contribs) (Created page with '= Error Text = In call to function My_sum, the first parameter, X, has more than one dimension. Since X is specified as ascending or descending, it must have only one dimensio…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error Text

In call to function My_sum, the first parameter, X, has more than one dimension. Since X is specified
as ascending or descending, it must have only one dimension. (Alternatively, consider rewriting
the function to specify parameter X with one dimension, e.g., "X : Ascending ArrayType[ j ]; j: Index"

Cause

You passed a multidimensional array as a parameter to a function that expects the parameter to be an ascending or descending array. You can only pass a one dimensional array to a function parameter that is expected to be ascending or descending.

Remedies

Pass a one dimensional array as the indicated parameter to the function.

Comments


You are not allowed to post comments.