-
Notifications
You must be signed in to change notification settings - Fork 128
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
Fixed NetworkX 3 compatibility and switched to sparse arrays (not matrices) #1018
Conversation
0823390
to
aebdf1e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was one line I didn't immediately understand.
Out of curiosity, how did you find and iterate through all the instances of "csr_matrix"?
@tathey1 vs code has a "rename symbol" command that can do it all in one go |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mostly changing to csr_array, and updating a couple method names.
…rices) (#1018) * Update setup.cfg * add conditional types logic for pipeline * fix a reference to sparse matrix * remove all reference to csr_matrix * fix array * remove nx.testing * fix graphs equal * fix some weird reversions to csr_matrix * remove OrderedGraph support * fix tutorial reference to csr_array --------- Co-authored-by: hugwuoke <85888975+hugwuoke@users.noreply.github.com>
Reference Issues/PRs
Fixes #961
Proper fix of #1015
What does this implement/fix? Briefly explain your changes.
Any other comments?
nx.OrderedGraph
, but I'm not losing and sleep over that one. I was even considering just switching to NetworkX 3 support only but I don't think it's fully necessary.