@@ -175,7 +175,7 @@ function GrB_Vector_reduce( # c = reduce_to_scalar(u)
175
175
monoid:: GrB_Monoid , # monoid to do the reduction
176
176
u:: GrB_Vector{T} , # vector to reduce
177
177
desc:: V # descriptor (currently unused)
178
- ) where {T <: valid_types , U <: valid_accum_types , V <: valid_desc_types }
178
+ ) where {T <: valid_types , V <: valid_desc_types }
179
179
180
180
scalar = Ref (T (0 ))
181
181
fn_name = " GrB_Vector_reduce_" * suffix (T)
@@ -185,7 +185,7 @@ function GrB_Vector_reduce( # c = reduce_to_scalar(u)
185
185
dlsym (graphblas_lib, fn_name),
186
186
Cint,
187
187
(Ptr{T}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}),
188
- scalar, accum . p, monoid. p, u. p, desc. p
188
+ scalar, GrB_NULL . p, monoid. p, u. p, desc. p
189
189
)
190
190
)
191
191
@@ -236,7 +236,7 @@ function GrB_Matrix_reduce( # c = reduce_to_scalar(A)
236
236
dlsym (graphblas_lib, fn_name),
237
237
Cint,
238
238
(Ptr{T}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}),
239
- scalar, accum . p, monoid. p, A. p, desc. p
239
+ scalar, GrB_NULL . p, monoid. p, A. p, desc. p
240
240
)
241
241
)
242
242
0 commit comments