WIP: minimal fix for NumSteps overflow
Currently there is not check for NumSteps
overflow. Also, the type is int
.
Type was changed to unsigned long
and a check for overflow/underflow was added.
Currently there is not check for NumSteps
overflow. Also, the type is int
.
Type was changed to unsigned long
and a check for overflow/underflow was added.