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
According to the code, B is a one-dimensional array obtained by calling A.sum(axis=1), representing the degree of each node. Therefore, one-dimensional index should be used instead of two-dimensional index in updateDeg function. The way to fix this is to use B[i] directly to get the node's degree, instead of B[i, 0].
I'm not sure if this is the case.
The text was updated successfully, but these errors were encountered:
According to the code, B is a one-dimensional array obtained by calling A.sum(axis=1), representing the degree of each node. Therefore, one-dimensional index should be used instead of two-dimensional index in updateDeg function. The way to fix this is to use B[i] directly to get the node's degree, instead of B[i, 0].
I'm not sure if this is the case.
The text was updated successfully, but these errors were encountered: