Move random seed prior to first random() call

This commit is contained in:
blink1073
2014-07-06 07:49:36 -05:00
parent 5ef3f95d71
commit 35dcdd5315
+1 -1
View File
@@ -3,9 +3,9 @@ from numpy.testing import assert_equal
from skimage.transform import integral_image, integrate
np.random.seed(0)
x = (np.random.random((50, 50)) * 255).astype(np.uint8)
s = integral_image(x)
np.random.seed(0)
def test_validity():