-
Notifications
You must be signed in to change notification settings - Fork 82
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
Add GraphNodeIterator::operator<= required by std::reverse_iterator #2955
Conversation
nntrainer/graph/graph_node.h
Outdated
@@ -193,6 +193,19 @@ class GraphNodeIterator { | |||
return lhs.p != rhs.p; | |||
} | |||
|
|||
/** | |||
* @brief != comparison operator override |
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.
s/!=/<=/
?
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.
Oh, thanks! Good catch.
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.
Will squash it
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.
LGTM
Please check if all your commits are correctly signed-off |
9e7124b
to
b04fe2f
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.
LGTM!
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.
Please revise the description. Other than that, it looks good to me!
14fb9e6
to
b768b45
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.
LGTM
The CI error is about "no commit message" (the 1st commit has an empty commit message) |
This is a trivial PR. Please do squash, amend commit message, push, and merge and move on. |
b768b45
to
edb1d83
Compare
…dapter This makes possible to build nntrainer in standard library debug mode. Please see: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html Signed-off-by: Piotr Rak <[email protected]>
edb1d83
to
90b98bf
Compare
While it is not technically used by normal build its presence is verified during debug standard library build.
More info about debug mode of standard library: https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug_mode.html