mirror of https://github.com/CGAL/cgal
first test equality of meshes
In case the graph type as an assertion checking equality of graph in operator== of its descriptors
This commit is contained in:
parent
e0b1acba83
commit
a0978d0872
|
|
@ -241,7 +241,7 @@ typedef typename boost::graph_traits<TM>::face_descriptor face_descriptor;
|
|||
|
||||
bool equal(const vertex_iterator& other) const
|
||||
{
|
||||
return (this->hd == other.hd) && (this->mesh_ == other.mesh_);
|
||||
return (this->mesh_ == other.mesh_) && (this->hd == other.hd);
|
||||
}
|
||||
|
||||
vertex_descriptor dereference() const { return vertex_descriptor(*hd); }
|
||||
|
|
|
|||
Loading…
Reference in New Issue