Closed andreyz4k closed 2 years ago
julia> A 7x7 GraphBLAS int64_t matrix, bitmap by row 12 entries, memory: 649 bytes (1,2) 1 (1,4) 2 (2,5) 3 (2,7) 4 (3,6) 5 (4,1) 6 (4,3) 7 (5,6) 8 (6,3) 9 (7,3) 10 (7,4) 11 (7,5) 12 julia> reduce(max, A) 12 julia> reduce(max, A; init=100) ERROR: MethodError: no method matching GBScalar{Int64}(::Int64) Closest candidates are: GBScalar{T}() where T at ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/scalar.jl:3 GBScalar{T}(::Ptr{SuiteSparseGraphBLAS.LibGraphBLAS.GB_Scalar_opaque}) where T at ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/types.jl:236 Stacktrace: [1] reduce(op::Function, A::GBMatrix{Int64, Nothing}; dims::Function, typeout::Nothing, init::Int64, mask::Nothing, accum::Nothing, desc::Nothing) @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/operations/reduce.jl:44 [2] top-level scope @ REPL[42]:1