Skip to content
Snippets Groups Projects
Commit 2a311ea3 authored by Christoph Groth's avatar Christoph Groth
Browse files

Cython warns about declaring pointers and values in the same statement, so stop doing this

parent 72f9d24b
No related branches found
No related tags found
No related merge requests found
......@@ -24,14 +24,19 @@ cdef class Graph:
cdef _add_edges_ndarray_int32(self, np.ndarray[np.int32_t, ndim=2] edges)
cdef class gintArraySlice:
cdef gint *data, size
cdef gint *data
cdef gint size
cdef class CGraph:
cdef readonly bint twoway, edge_nr_translation
cdef readonly gint num_nodes, num_edges, num_px_edges, num_xp_edges
cdef gint *heads_idxs, *heads
cdef gint *tails_idxs, *tails, *edge_ids
cdef gint *edge_ids_by_edge_nr, edge_nr_end
cdef gint *heads_idxs
cdef gint *heads
cdef gint *tails_idxs
cdef gint *tails
cdef gint *edge_ids
cdef gint *edge_ids_by_edge_nr
cdef gint edge_nr_end
cpdef gintArraySlice out_neighbors(self, gint node)
......
......@@ -38,7 +38,8 @@ cdef extern from "zmumps_c.h":
MUMPS_INT n
MUMPS_INT nz
MUMPS_INT *irn, *jcn
MUMPS_INT *irn
MUMPS_INT *jcn
ZMUMPS_COMPLEX *a
MUMPS_INT nrhs, lrhs
......@@ -49,9 +50,11 @@ cdef extern from "zmumps_c.h":
MUMPS_INT nz_rhs
ZMUMPS_COMPLEX *rhs_sparse
MUMPS_INT *irhs_sparse, *irhs_ptr
MUMPS_INT *irhs_sparse
MUMPS_INT *irhs_ptr
MUMPS_INT size_schur, *listvar_schur
MUMPS_INT size_schur
MUMPS_INT *listvar_schur
ZMUMPS_COMPLEX *schur
cdef void zmumps_c(ZMUMPS_STRUC_C *)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment