Use predefined header files from Cython

This commit is contained in:
Johannes Schönberger
2012-08-21 15:15:27 +02:00
parent 3b227e226d
commit a08779e06a
4 changed files with 25 additions and 48 deletions
+1 -2
View File
@@ -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)