@@ -7,7 +7,7 @@ function GxB_Vector_select( # w<mask> = accum (w, op(u,k))
77 accum:: U , # optional accum for z=accum(w,t)
88 op:: GxB_SelectOp , # operator to apply to the entries
99 u:: GrB_Vector , # first input: vector u
10- thunk, # optional input for the select operator
10+ thunk:: GrB_NULL_Type , # optional input for the select operator
1111 desc:: V # descriptor for w and mask
1212 ) where {T <: valid_vector_mask_types , U <: valid_accum_types , V <: valid_desc_types }
1313
@@ -16,7 +16,7 @@ function GxB_Vector_select( # w<mask> = accum (w, op(u,k))
1616 dlsym (graphblas_lib, " GxB_Vector_select" ),
1717 Cint,
1818 (Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}),
19- w. p, mask. p, accum. p, op. p, u. p, Ref ( thunk) , desc. p
19+ w. p, mask. p, accum. p, op. p, u. p, thunk. p , desc. p
2020 )
2121 )
2222end
@@ -27,7 +27,7 @@ function GxB_Matrix_select( # C<Mask> = accum (C, op(A,k)) or op(A',
2727 accum:: U , # optional accum for Z=accum(C,T)
2828 op:: GxB_SelectOp , # operator to apply to the entries
2929 A:: GrB_Matrix , # first input: matrix A
30- thunk, # optional input for the select operator
30+ thunk:: GrB_NULL_Type , # optional input for the select operator
3131 desc:: V # descriptor for C, mask, and A
3232 ) where {T <: valid_matrix_mask_types , U <: valid_accum_types , V <: valid_desc_types }
3333
@@ -36,7 +36,7 @@ function GxB_Matrix_select( # C<Mask> = accum (C, op(A,k)) or op(A',
3636 dlsym (graphblas_lib, " GxB_Matrix_select" ),
3737 Cint,
3838 (Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}),
39- C. p, Mask. p, accum. p, op. p, A. p, Ref ( thunk) , desc. p
39+ C. p, Mask. p, accum. p, op. p, A. p, thunk. p , desc. p
4040 )
4141 )
4242end
0 commit comments