refactor: forward get.adjacency.dense() to get.adjacency.sparse() if attributes are present (#1483)#1653
Conversation
Current Aviator status
This PR was merged manually (without Aviator). Merging manually can negatively impact the performance of the queue. Consider using Aviator next time.
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
|
Every PR should be green, yes. If this needs changing tests, it can be done in the same PR. The best would be to change tests first, in a separate commit or PR, so that they work both with the existing and the new implementation. Not sure if it's worth the effort. |
krlmlr
left a comment
There was a problem hiding this comment.
Thanks, great! Somehow dimnames() are lost in R 4.1 and earlier, the checks are failing.
get.adjacency.dense() to get.adjacency.sparse() if attributes are present (#1483)
|
Ready to be reviewed again |
|
ready again |
krlmlr
left a comment
There was a problem hiding this comment.
Can you please auto-merge when good?
… if attributes are present (igraph#1483) (igraph#1653)
This PR removes (nested) for loops for
get.adjacency.dense()whenattr != NULL(cherry picked commits from #1518)