mirror of
https://github.com/wassname/scikit-image.git
synced 2026-10-04 13:00:57 +08:00
Fixed last remaining sig figure problem.
This commit is contained in:
1 parent
0e34c91e37
commit
9adae8b0c2
1 file changed
+1
-1
@@ -101,7 +101,7 @@ def test_adapthist_grayscale():
|
||||
nbins=128)
|
||||
assert_almost_equal = np.testing.assert_almost_equal
|
||||
assert img.shape == adapted.shape
|
||||
assert_almost_equal(peak_snr(img, adapted), 77.584, 5)
|
||||
assert_almost_equal(peak_snr(img, adapted), 77.584, 3)
|
||||
assert_almost_equal(norm_brightness_err(img, adapted), 0.038, 3)
|
||||
return data, adapted
|
||||
|
||||
|
||||
Reference in new issue
Block a user