You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that in the Triangle-Counting notebook, Cohen's algorithm returns 1929 while the Sandia variants return 1919. This is clearly a bug but the problem is not in the algorithms but in the data: the Matrix.from_random() method produces non-zero elements with False values. This can be demonstrated as follows:
The Matrix.from_random method calls LAGraph_random() directly, so if you think this is a bug it might be best to file it there. As a workaround you could do Matrix.from_random(...).select(lib.GxB_NONZERO).
I noticed that in the
Triangle-Counting
notebook, Cohen's algorithm returns 1929 while the Sandia variants return 1919. This is clearly a bug but the problem is not in the algorithms but in the data: theMatrix.from_random()
method produces non-zero elements withFalse
values. This can be demonstrated as follows:The text was updated successfully, but these errors were encountered: