-
Notifications
You must be signed in to change notification settings - Fork 115
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
Fix incorrectly copied code #405
Conversation
Yes! When you have done, you can trasform the PR in Ready state. |
I marked the PR ready for review. That being said, it looks to me that most of the methods CXXGraph/include/CXXGraph/Graph/Graph_impl.hpp Lines 715 to 725 in ae9bc56
This works well-enough for undirected graphs where the adjacency matrix is kept symmetric, CXXGraph/include/CXXGraph/Graph/Graph_impl.hpp Lines 94 to 121 in ae9bc56
For directed graphs the adjacency matrix is not symmetric which means that it cannot be used as-is to obtain incoming edges for a node, CXXGraph/include/CXXGraph/Graph/Graph_impl.hpp Lines 76 to 93 in ae9bc56
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #405 +/- ##
==========================================
+ Coverage 97.58% 97.88% +0.29%
==========================================
Files 87 87
Lines 9492 10063 +571
Branches 0 660 +660
==========================================
+ Hits 9263 9850 +587
+ Misses 229 213 -16
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This code looks like it was incorrectly copied from the
outEdges
overload for pointers. The test suite fails and ultimately segfaults for me, so I did not add an accompanying test.