Closed srki closed 4 years ago
Thanks for the bug report. I've replicated the problem and I see why it's happening. It shouldn't take too long to fix.
Fixed with GraphBLAS v3.3.3. Thanks for finding the bug and the very helpful isolation.
Thank you for the very fast bug fix. I ran a few more tests, and everything runs as expected. Thank you!
Unexpected behavior
When GrB_vxm is called with empty w, u, A, and non-empty mask, GrB_vxm never returns.
Example code
Detailed Description
If the inputs u and A are empty, the hash table used in loop GB_AxB_saxpy3_symbolic.c#L173 will have space for 4 elements. If the mask has more than 4 elements, loop GB_AxB_saxpy3_symbolic.c#L167 will not be able to find space for all elements, and it will loop forever.