Change the import of round function to be compatible with visual studio compiler

This commit is contained in:
Guillaume Lemaitre
2015-10-28 22:09:25 +01:00
parent 3a2acb2adf
commit 54043de4b4
+2 -1
View File
@@ -4,10 +4,11 @@
#cython: wraparound=False
cimport numpy as cnp
from libc.math cimport log, exp, round
from libc.math cimport log, exp
from .core_cy cimport dtype_t, dtype_t_out, _core
from ..._shared.interpolation cimport round
cdef inline void _kernel_autolevel(dtype_t_out* out, Py_ssize_t odepth,
Py_ssize_t* histo,