Faulty Results for spreaded LinearSpread

LinearSpread (Spreads) produces wrong results, if the last slice in the SpreadCount-Spread is 0 or 1.

the error occurs in the first slice of the resulting spread. see attached patch

edit: only in Block Mode

error.v4p (4.3 kB)

I’m getting this in ‘Block’ alignment, but only when going from a spreadcount of > 1 (spread) back down to 1.