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
If sparse=True is passed to multiorder_laplacian(), the function computes Laplacians at each order with sparse=False, sums them, and then converts the results to sparse with:
* perf: cleaner and faster incidence_matrix
* fix: return sparse (if asked) for empty H (sparse and non-sparse now have dim (0,0)). fixed corresponding tests.
* tests: more to check sparse equals non sparse
* tests: more for sparse
* perf: made multiorder_laplacian truly sparse and faster #301
* style: ran isort and black
If
sparse=True
is passed tomultiorder_laplacian()
, the function computes Laplacians at each order withsparse=False
, sums them, and then converts the results to sparse with:https://github.com/ComplexGroupInteractions/xgi/blob/ebe04761fabe31a474664b476c5464c41ba651cf/xgi/linalg/matrix.py#L369-L370
This defeats the purpose, since all internal calculations are done using non-sparse matrices.
The text was updated successfully, but these errors were encountered: