vamp-ir
vamp-ir copied to clipboard
Specified iteration count is too large
Is there some way around this error?
thread 'main' panicked at 'specified iteration count is too large'
The bound seems to be very small (127). I want much bigger bounds.
It comes from this line in transform.rs
for _ in 0..val.to_i8().expect("specified iteration count is too large")
Specifically, the iteration count gets converted to an i8, whose max value is 2^7-1 = 127. You can try replacing to_i8 with to_u8 to double the limit, or go higher with to_i16 or to_u16, and let us know how that works out.