Calling circshift with a rotation that was not initialized (or for rotations initialized on the wrong array size) results in a fairly cryptic error message. This could be handled better by keeping track of the initialized rotations and providing more sensible error messages.
Calling
circshiftwith a rotation that was not initialized (or for rotations initialized on the wrong array size) results in a fairly cryptic error message. This could be handled better by keeping track of the initialized rotations and providing more sensible error messages.