BUG: Compare `method, not status`.

This commit is contained in:
Stefan van der Walt
2010-12-02 13:49:53 +02:00
parent d243713848
commit 8ace32218a
+1 -1
View File
@@ -2543,7 +2543,7 @@ def cvFindFundamentalMat(points1, points2, int method=CV_FM_RANSAC,
cdef np.npy_intp fundamental_shape[2]
cdef np.npy_intp status_shape[1]
if (status == CV_FM_7POINT):
if (method == CV_FM_7POINT):
fundamental_shape[0] = <np.npy_intp> 9
else:
fundamental_shape[0] = <np.npy_intp> 3