Crash when set Gaussian Blur setBlurRadiansInPixels to 0 on 64 bit simulator device
When I run the latest version of GPUImage on a 64 bit simulator, it is crashing when I try to set GPUImageGaussianBlurFilter setBlurRadiansInPixels to 0. It crashes at this line:
standardGaussianWeights[currentGaussianWeightIndex] = (1.0 / sqrt(2.0 * M_PI * pow(sigma, 2.0))) * exp(-pow(currentGaussianWeightIndex, 2.0) / (2.0 * pow(sigma, 2.0)));
Worked around it just by setting it to 1, but thought I'd let you know.
Yeah, I check for that condition later on, and use a passthrough filter if I see that, but the divide-by-zero there must finally be getting picked up. I'll have to move that check earlier in that property.
This should be fixed now.