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

Using lib.* operators in Matrix.reduce_* #60

Open
marci543 opened this issue Jun 19, 2020 · 1 comment
Open

Using lib.* operators in Matrix.reduce_* #60

marci543 opened this issue Jun 19, 2020 · 1 comment

Comments

@marci543
Copy link
Contributor

Matrix.reduce_vector() cannot be used with lib.GxB_*_MONOID.
The problem might be around this line:
https://github.com/michelp/pygraphblas/blob/7465ef6fcc77c9901869b70ddf1d77a86570c336/pygraphblas/matrix.py#L598

It would be also good to have a version that supports the BinaryOp variant of reduce_vector.

@michelp
Copy link
Collaborator

michelp commented Jun 21, 2020

Hmm, i'll check it out, but meanwhile you can so something like vector_reduce(FP32.PLUS_MONOID) agreed a bout the BinaryOp variant.

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

No branches or pull requests

2 participants