Skip to content

Commit e85938a

Browse files
committed
Fixed error
1 parent cb8c84c commit e85938a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tdamapper/utils/_metrics.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ cpdef inline double euclidean(double[:] x, double[:] y) nogil:
1717
return sqrt(norm_squared)
1818

1919

20-
cdef inline double minkowski(int p, double[:] x, double[:] y) nogil:
20+
cpdef inline double minkowski(int p, double[:] x, double[:] y) nogil:
2121
cdef double norm_p = 0.0
2222
cdef Py_ssize_t i, n = x.shape[0]
2323
for i in range(n):

0 commit comments

Comments
 (0)