diff --git a/fastdtw/_fastdtw.pyx b/fastdtw/_fastdtw.pyx index 0adfccc..ead045d 100644 --- a/fastdtw/_fastdtw.pyx +++ b/fastdtw/_fastdtw.pyx @@ -11,11 +11,7 @@ from libcpp.vector cimport vector import numpy as np -try: - from libc.math cimport INFINITY -except: - from numpy.math cimport INFINITY - +from libc.math cimport INFINITY cdef struct LowHigh: int low, high