Skip to content

Commit ae38a33

Browse files
bug fix
1 parent d47f80c commit ae38a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Operations/Reduce.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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, GrB_NULL.p, monoid.p, u.p, desc.p
188+
scalar, C_NULL, 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, GrB_NULL.p, monoid.p, A.p, desc.p
239+
scalar, C_NULL, monoid.p, A.p, desc.p
240240
)
241241
)
242242

0 commit comments

Comments
 (0)