Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit ff05ded

Browse files
Cython signature must expect C-contiguous 2D array
1 parent a53a6d2 commit ff05ded

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common_ext/cy_kde.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ import numpy as np
4040

4141
def kde_eval(
4242
c_dpctl.SyclQueue py_q,
43-
cython.floating[:, :] x,
44-
cython.floating[:, :] x_data,
43+
cython.floating[:, ::1] x,
44+
cython.floating[:, ::1] x_data,
4545
cython.floating h
4646
):
4747
cdef cython.floating[:] f

0 commit comments

Comments
 (0)