replaced 0 by Vertex_handle() in an expression of the form "vh == 0"

This commit is contained in:
Menelaos Karavelas 2004-04-07 16:11:46 +00:00
parent 172517ae24
commit c378785725
1 changed files with 1 additions and 1 deletions

View File

@ -723,7 +723,7 @@ is_valid(bool verbose, int level) const
//verify that lower level has no down pointers
for( Finite_vertices_iterator it = hierarchy[0]->finite_vertices_begin();
it != hierarchy[0]->finite_vertices_end(); ++it) {
result = result && ( it->down() == 0 );
result = result && ( it->down() == Vertex_handle() );
}
//verify that other levels has down pointer and reciprocal link is fine