Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assign! is not working with GBMatrix #76

Closed
andreyz4k opened this issue Aug 1, 2022 · 0 comments · Fixed by #86
Closed

assign! is not working with GBMatrix #76

andreyz4k opened this issue Aug 1, 2022 · 0 comments · Fixed by #86

Comments

@andreyz4k
Copy link

julia> A = GBMatrix([1,1,2,2,3,4,4,5,6,7,7,7], [2,4,5,7,6,1,3,6,3,3,4,5], [1:12...])
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> assign!(A, A, :, :)
ERROR: UndefVarError: T not defined
Stacktrace:
 [1] assign!(C::GBMatrix{Int64, Nothing}, x::GBMatrix{Int64, Nothing}, I::Function, J::Function; mask::Nothing, accum::Nothing, desc::Nothing)
   @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/abstractgbarray.jl:430
 [2] assign!(C::GBMatrix{Int64, Nothing}, x::GBMatrix{Int64, Nothing}, I::Function, J::Function)
   @ SuiteSparseGraphBLAS ~/.julia/packages/SuiteSparseGraphBLAS/5AOj3/src/abstractgbarray.jl:430
 [3] top-level scope
   @ REPL[12]:1
rayegun added a commit that referenced this issue Aug 16, 2022
rayegun pushed a commit that referenced this issue Aug 16, 2022
* UnaryOp rework, remove need to @Unop

* Removal of BinaryOp, Monoid update in progress

* monoids working on the surface

* passing all except random map tests

* fix promotion

* rm debug prints

* rename

* fix #85, fix #83

* fix #82

* work towards #81

* fixes #80, fixes #76

* fix #77
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant