Skip to content

Commit c3b42e4

Browse files
committed
2 parents 4365e01 + 9efc470 commit c3b42e4

File tree

3 files changed

+4
-11
lines changed

3 files changed

+4
-11
lines changed

src/options.jl

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,7 @@ function GxB_Matrix_Option_get(A::AbstractGBArray, field)
6464
T = Cint
6565
end
6666
v = Ref{T}()
67-
ccall(
68-
(:GxB_Matrix_Option_get, libgraphblas),
69-
Cvoid,
70-
(LibGraphBLAS.GrB_Matrix, UInt32, Ptr{Cvoid}),
71-
A,
72-
field,
73-
v
74-
)
67+
LibGraphBLAS.GxB_Matrix_Option_get(A, field, v)
7568
return v[]
7669
end
7770

src/solvers/umfpack.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import ..increment, ..increment!, ..decrement, ..decrement!
2525
using SuiteSparse.UMFPACK
2626
using SuiteSparse.UMFPACK: umferror, @isok,
2727
UMFVTypes,
28-
show_umf_ctrl, show_umf_info, _signperm
28+
show_umf_ctrl, show_umf_info
2929
using SuiteSparse.LibSuiteSparse
3030
import SuiteSparse.LibSuiteSparse:
3131
SuiteSparse_long,

test/chainrules/mulrules.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@
4949
end
5050

5151
@testset "Sparse" begin
52-
M = GBMatrix(sprand(100, 10, 0.25))
52+
M = GBMatrix(sprand(20, 10, 0.25))
5353
Y = GBMatrix(sprand(10, 0.1))
54-
N = GBMatrix(sprand(10, 75, 0.05))
54+
N = GBMatrix(sprand(10, 30, 0.05))
5555
@testset "+.*" begin
5656
test_frule(*, M, Y)
5757
test_frule(*, M, Y, (+, *))

0 commit comments

Comments
 (0)