mirror of
https://github.com/wassname/scikit-image.git
synced 2026-09-11 12:43:04 +08:00
Use predefined header files from Cython
This commit is contained in:
@@ -2,9 +2,8 @@
|
||||
|
||||
import _mcp
|
||||
cimport _mcp
|
||||
from libc.math cimport fabs
|
||||
|
||||
cdef extern from "math.h":
|
||||
double fabs(double f)
|
||||
|
||||
cdef class MCP_Diff(_mcp.MCP):
|
||||
"""MCP_Diff(costs, offsets=None, fully_connected=True)
|
||||
|
||||
Reference in New Issue
Block a user