Fix cython syntax and port to more recent numpy.pxd
This commit is contained in:
parent
4afc982dfc
commit
0093a6aa0f
3 changed files with 12 additions and 4 deletions
|
@ -12,7 +12,7 @@ cdef extern from "numpy/npy_common.h":
|
|||
ctypedef npy_intp
|
||||
|
||||
cdef extern from "special_math.hpp" namespace "CosmoTool":
|
||||
T log_modified_bessel_first_kind[T](T v, T z) nogil except +
|
||||
T log_modified_bessel_first_kind[T](T v, T z) except + nogil
|
||||
|
||||
cdef extern from "numpy_adaptors.hpp" namespace "CosmoTool":
|
||||
void parallel_ufunc_dd_d[T,IT](char **args, IT* dimensions, IT* steps, void *func)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue