heurisko bug no. 6042

This applies to heurisko 5 and higher.

Symptoms

The GetPosMax and GetPosMin operators are capable to adapt output objects to their required size. However, only the first element of a resized object is computed correctly. The remaining elements are set to zero.

Example:
float f[4][3];
ushort pos;
f = SetRand(1.0);
pos = GetPosMax(f);
pos; # Now with three elements, only the first is not zeroThe GetPosMax and GetPosMin operators are capable to adapt output objects to their required size. However, only the first element of a resized object is computed correctly. The remaining elements are set to zero. Example:
float f[4][3];
ushort pos;
f = SetRand(1.0);
pos = GetPosMax(f);
pos; # Now with three elements, only the first is not zero

Cause

Not yet known

Workaround

Use output objects with the correct size.

Fix

This bug is not yet fixed.

Back to overview