-
Notifications
You must be signed in to change notification settings - Fork 278
Adds get_predecessors() to grapht #6158
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
Adds get_predecessors() to grapht #6158
Conversation
@martin-cs PTAL |
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.
Looks good.
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.
Looks good to me, but it would be nice to have a test or some other actual use in the code base. Otherwise, the code might not ever get compiled and may silently stop working (for it's templated).
Codecov Report
@@ Coverage Diff @@
## develop #6158 +/- ##
===========================================
+ Coverage 74.91% 74.92% +0.01%
===========================================
Files 1450 1450
Lines 158253 158265 +12
===========================================
+ Hits 118550 118575 +25
+ Misses 39703 39690 -13
Continue to review full report at Codecov.
|
Done. PTAL |
Thank you for adding the test! Can I be a pain and ask for the formatting commit to be squashed into the commit introducing the test? Well, and perhaps also craft a slightly more unambiguous commit message for that one? |
12ace9e
to
a3c1e1e
Compare
Sorry, I thought you were going to squash and merge via the Github button. Done. |
grapht already has get_successors(). This PR adds get_predecessors().