Closed mfalt closed 2 years ago
Yeah, that must have been it! I think I wrote that conditional as a performance improvement, but forgot that that would also not do the cropping. Thanks for the fix! I'll tag a new release right away.
@mfalt @lorenzoh thank you !!!
Fixes https://github.com/lorenzoh/DataAugmentation.jl/issues/52 I have no idea if this is how the bounds are meant to be used, but this change fixes the issue, and seems to be identical to how
apply!
is implemented later in the file.