mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-09 21:51:21 +08:00
Fix vectorized_ops for bento
This commit is contained in:
@@ -20,7 +20,7 @@ from libc.stdlib cimport malloc, free
|
||||
from libc.string cimport memset
|
||||
|
||||
|
||||
cdef extern from "vectorized_ops.h":
|
||||
cdef extern from "../_shared/vectorized_ops.h":
|
||||
void add16(cnp.uint16_t *dest, cnp.uint16_t *src)
|
||||
void sub16(cnp.uint16_t *dest, cnp.uint16_t *src)
|
||||
|
||||
|
||||
@@ -26,8 +26,7 @@ def configuration(parent_package='', top_path=None):
|
||||
cython(['rank/bilateral_rank.pyx'], working_path=base_path)
|
||||
|
||||
config.add_extension('_ctmf', sources=['_ctmf.c'],
|
||||
depends=['../_shared/vectorized_ops.h'],
|
||||
include_dirs=[get_numpy_include_dirs(), '../_shared'])
|
||||
include_dirs=[get_numpy_include_dirs()])
|
||||
config.add_extension('_denoise_cy', sources=['_denoise_cy.c'],
|
||||
include_dirs=[get_numpy_include_dirs(), '../_shared'])
|
||||
config.add_extension('rank._core8', sources=['rank/_core8.c'],
|
||||
|
||||
Reference in New Issue
Block a user