BUG: Fix failing test_homography unit test.

This commit is contained in:
Neil Yager
2011-10-27 09:13:06 +01:00
committed by Stefan van der Walt
parent 3892d5b3ae
commit 45ee2e1323
+1 -1
View File
@@ -15,7 +15,7 @@ def test_stackcopy():
assert_array_almost_equal(x[...,i], y)
def test_homography():
x = np.arange(9).reshape((3, 3)) + 1
x = np.arange(9, dtype=np.uint8).reshape((3, 3)) + 1
theta = -np.pi/2
M = np.array([[np.cos(theta),-np.sin(theta),0],
[np.sin(theta), np.cos(theta),2],