Skip to content

Commit 13351f9

Browse files
committed
fix buffer error
1 parent 1b953fe commit 13351f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/radius_clustering/utils/mds.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ cdef extern from "mds_core.cpp":
3939

4040
cdef Result iterated_greedy_wrapper(int numNodes, const vector[int]& edges_list, int nb_edges, string name) nogil
4141

42-
def solve_mds(int num_nodes, np.ndarray[np.uint32_t, ndim=1, mode="c"] edges not None, int nb_edges, str name):
42+
def solve_mds(int num_nodes, np.ndarray[int, ndim=1, mode="c"] edges not None, int nb_edges, str name):
4343
"""
4444
Solve the Minimum Dominating Set problem for a given graph.
4545

0 commit comments

Comments
 (0)