Fix naming in FixedPointCoordinate

This commit is contained in:
Patrick Niklaus
2016-01-04 19:55:35 +01:00
parent 4312013552
commit 4f7369ed02
7 changed files with 14 additions and 24 deletions
+2 -2
View File
@@ -65,12 +65,12 @@ bool PhantomNode::is_compressed() const { return (forward_offset != 0) || (rever
bool PhantomNode::is_valid(const unsigned number_of_nodes) const
{
return location.is_valid() &&
return location.IsValid() &&
((forward_node_id < number_of_nodes) || (reverse_node_id < number_of_nodes)) &&
((forward_weight != INVALID_EDGE_WEIGHT) || (reverse_weight != INVALID_EDGE_WEIGHT)) &&
(component.id != INVALID_COMPONENTID) && (name_id != INVALID_NAMEID);
}
bool PhantomNode::is_valid() const { return location.is_valid() && (name_id != INVALID_NAMEID); }
bool PhantomNode::is_valid() const { return location.IsValid() && (name_id != INVALID_NAMEID); }
bool PhantomNode::operator==(const PhantomNode &other) const { return location == other.location; }