Skip to content

Commit da9f7d1

Browse files
committed
fix(ts_dist_cy.pyx): replace _np.abs with abs
1 parent 14dd890 commit da9f7d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ts_dist_cy.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ cdef double _lcss_dist(double[:, :] X, double[:, :] Y, delta, epsilon):
106106
for i in range(1, n_frame_X+1):
107107
for j in range(1, n_frame_Y+1):
108108
if abs_diff_less(X[:, i-1], Y[:, j-1], n_feature, epsilon) and (
109-
_np.abs(i-j) < delta):
109+
abs(i-j) < delta):
110110
S[i, j] = S[i-1, j-1]+1
111111
else:
112112
S[i, j] = max(S[i, j-1], S[i-1, j])

0 commit comments

Comments
 (0)