mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-06 05:16:40 +08:00
Fixed last remaining sig figure problem.
This commit is contained in:
@@ -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