Skip to content

Commit

Permalink
RF: remove unused inline functions
Browse files Browse the repository at this point in the history
Inline functions to get data pointers not being used in this module.
  • Loading branch information
matthew-brett committed Jan 5, 2015
1 parent fedd2cd commit 1f685be
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions dipy/tracking/propspeed.pyx
Expand Up @@ -25,13 +25,6 @@ DEF PEAK_NO=5
# initialize numpy runtime
cnp.import_array()

#numpy pointers
cdef inline float* asfp(cnp.ndarray pt):
return <float *>pt.data

cdef inline double* asdp(cnp.ndarray pt):
return <double *>pt.data

@cython.cdivision(True)
cdef cnp.npy_intp offset(cnp.npy_intp *indices,
cnp.npy_intp *strides,
Expand Down

0 comments on commit 1f685be

Please sign in to comment.