@@ -175,7 +175,7 @@ function GrB_Vector_reduce( # c = reduce_to_scalar(u)
175175 monoid:: GrB_Monoid , # monoid to do the reduction
176176 u:: GrB_Vector{T} , # vector to reduce
177177 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 }
179179
180180 scalar = Ref (T (0 ))
181181 fn_name = " GrB_Vector_reduce_" * suffix (T)
@@ -185,7 +185,7 @@ function GrB_Vector_reduce( # c = reduce_to_scalar(u)
185185 dlsym (graphblas_lib, fn_name),
186186 Cint,
187187 (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
189189 )
190190 )
191191
@@ -236,7 +236,7 @@ function GrB_Matrix_reduce( # c = reduce_to_scalar(A)
236236 dlsym (graphblas_lib, fn_name),
237237 Cint,
238238 (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
240240 )
241241 )
242242
0 commit comments