removes paren

This commit is contained in:
scottsievert
2015-12-13 16:59:59 -06:00
parent 4d6c9e7b84
commit 2892e90abc
+1 -1
View File
@@ -375,7 +375,7 @@ def richardson_lucy(image, psf, iterations=50, clip=True):
# see whether the fourier transform convolution method or the direct
# convolution method is faster (discussed in scikit-image PR #1792)
time_ratio = 40.032 * fft_time(image.shape, psf.shape))
time_ratio = 40.032 * fft_time(image.shape, psf.shape)
time_ratio /= direct_time(image.shape, psf.shape)
if time_ratio <= 1 or len(image.shape) > 2: