Commit c0509157 authored by paugier's avatar paugier
Browse files

Fix dtw_cort_dist

parent 24c454b7
Pipeline #75908 passed with stage
in 49 seconds
all:
transonic dtw_cort_dist_mat.py -pf "-march=native -O3 -DUSE_XSIMD"
transonic dtw_cort_dist_mat.py -af "-march=native -O3 -DUSE_XSIMD"
clean:
rm -rf __pythran__
\ No newline at end of file
......@@ -25,7 +25,7 @@ def serie_pair_index_generator(number):
)
@jit(cache=True)
@jit
def dtw_distance(s1, s2):
""" Computes the dtw between s1 and s2 with distance the absolute distance
......@@ -37,7 +37,7 @@ def dtw_distance(s1, s2):
len_s1 = len(s1)
len_s2 = len(s2)
_dtw_mat = np.empty([len_s1, len_s2])
_dtw_mat = np.empty((len_s1, len_s2))
_dtw_mat[0, 0] = abs(s1[0] - s2[0])
# two special cases : filling first row and columns
......
......@@ -26,7 +26,7 @@ invoke
cffi
# accelerators
cython
numba==0.43.1
numba
pythran
xsimd
transonic
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment