From 1f685bec14311f35ac279e2f29d63934c402136d Mon Sep 17 00:00:00 2001 From: Matthew Brett Date: Mon, 5 Jan 2015 17:50:53 +0000 Subject: [PATCH] RF: remove unused inline functions Inline functions to get data pointers not being used in this module. --- dipy/tracking/propspeed.pyx | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dipy/tracking/propspeed.pyx b/dipy/tracking/propspeed.pyx index 72015141a5..f72f5312a2 100644 --- a/dipy/tracking/propspeed.pyx +++ b/dipy/tracking/propspeed.pyx @@ -25,13 +25,6 @@ DEF PEAK_NO=5 # initialize numpy runtime cnp.import_array() -#numpy pointers -cdef inline float* asfp(cnp.ndarray pt): - return pt.data - -cdef inline double* asdp(cnp.ndarray pt): - return pt.data - @cython.cdivision(True) cdef cnp.npy_intp offset(cnp.npy_intp *indices, cnp.npy_intp *strides,