Error Messages/40882


Example error text

 In the call to Function Concat, the first parameter is multi-dimensional and 
 the  third parameter is not specified. It is therefore ambiguous which index
 the concatenation should occur over.

Cause

Consider an example:

And suppose B := [5, 6, 7]

What is the result of Concat(A, B)?

Your first response may be that it is obviously this:

That would be concatenating along the J dimension of A. But, it would be just as reasonable to concatenate along the I dimension, yielding:

Hence, your intention is ambiguous.

Remedy

You simply need to include the index parameter that you want to concatenate along. For example:

Concat(A, B, I) →
Concat(A, B, J) →

See Also

Comments
Loading comments...