BUG: Python 3 Travis build caught this error

This commit is contained in:
Steven Silvester
2012-12-25 23:02:27 -06:00
parent 4f37418406
commit aef305a0d3
-1
View File
@@ -142,7 +142,6 @@ def peak_snr(img1, img2):
img2 = skimage.img_as_float(img2)
mse = 1. / img1.size * np.square(img1 - img2).sum()
_, max_ = dtype_range[img1.dtype.type]
print mse, max_
return 20 * np.log(max_ / mse)