From 8ace32218a50447fdac14ca5748eba27d2753cc1 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 1 Dec 2010 17:22:11 +0200 Subject: [PATCH] BUG: Compare ``method``, not ``status``. --- scikits/image/opencv/opencv_cv.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scikits/image/opencv/opencv_cv.pyx b/scikits/image/opencv/opencv_cv.pyx index 94521113..1fbb3279 100644 --- a/scikits/image/opencv/opencv_cv.pyx +++ b/scikits/image/opencv/opencv_cv.pyx @@ -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] = 9 else: fundamental_shape[0] = 3