S09005

Error Code

S09005

Error Message

JIT: The assigned variable must have the same type as the indexed value. RefId: S09005

Probable Causes

This error occurs when the assigned variable has the different type to the indexed value. For example, in an assignment operation a = b[0], where a is a scalar and b is a vector, a and b must have the same data type.

Solutions

Ensure that the assigned variable has the same type as the indexed value.