From d674965bf99937652e4540e696fc80458e5b0b73 Mon Sep 17 00:00:00 2001 From: boatx Date: Wed, 12 Aug 2015 20:50:05 +0000 Subject: [PATCH] Fixing typo in variable name. --- modules/python/src2/cv2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/python/src2/cv2.cpp b/modules/python/src2/cv2.cpp index 84cbb496fc..82f1c8b9f7 100644 --- a/modules/python/src2/cv2.cpp +++ b/modules/python/src2/cv2.cpp @@ -282,7 +282,7 @@ static bool pyopencv_to(PyObject* o, Mat& m, const ArgInfo info) if( type < 0 ) { - if( typenum == NPY_INT64 || typenum == NPY_UINT64 || type == NPY_LONG ) + if( typenum == NPY_INT64 || typenum == NPY_UINT64 || typenum == NPY_LONG ) { needcopy = needcast = true; new_typenum = NPY_INT;