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:
Sébastien Loriot 2016-07-22 15:01:21 +02:00 committed by Mael Rouxel-Labbé
parent e0b1acba83
commit a0978d0872
1 changed files with 1 additions and 1 deletions

View File

@ -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); }