From 7d65b1d715d530ca53756b6d856e7b33b905ea73 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 22 Sep 2010 22:23:12 +0200 Subject: [PATCH] Modify numpy cimport order to satisfy Cython 0.13. --- scikits/image/opencv/opencv_cv.pyx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scikits/image/opencv/opencv_cv.pyx b/scikits/image/opencv/opencv_cv.pyx index ea1fcb96..4448716c 100644 --- a/scikits/image/opencv/opencv_cv.pyx +++ b/scikits/image/opencv/opencv_cv.pyx @@ -1,9 +1,10 @@ # -*- python -*- import ctypes -import numpy as np cimport numpy as np +import numpy as np + from python cimport * from stdlib cimport * from opencv_type cimport * @@ -1572,7 +1573,7 @@ Using standard sigma for small kernels (3x3 to 7x7) gives better speed.''') def cvSmooth(np.ndarray src, int smoothtype=CV_GAUSSIAN, int param1=3, int param2=0, double param3=0, double param4=0, - bool in_place=False): + bint in_place=False): validate_array(src)