Explicitly use float64 instead of float.

This commit is contained in:
Stefan van der Walt
2012-03-11 16:02:20 -07:00
parent ea15eb7647
commit b9289123f7
+1 -1
View File
@@ -75,7 +75,7 @@ def test_float_out_of_range():
def test_copy():
x = np.array([1], dtype=float)
x = np.array([1], dtype=np.float64)
y = img_as_float(x)
z = img_as_float(x, force_copy=True)