Skip to content
Snippets Groups Projects
Commit 58a962a7 authored by Jakub Janák's avatar Jakub Janák
Browse files

bug found, the operator > should be performing > on weights

parent f2753ade
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,7 @@ bool Node::operator<(const Node &other) const {
}
bool Node::operator>(const Node &other) const {
return this->name < other.name;
return this->name > other.name;
}
bool Node::operator==(const Node &other) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment