removed illegal *m.vert.end()
This commit is contained in:
parent
0f221f2d99
commit
9cd42be265
|
@ -362,7 +362,7 @@ class Clustering
|
|||
for(gi=GridCell.begin();gi!=GridCell.end();++gi)
|
||||
{
|
||||
VertexType *ptr=(*gi).second.Ptr();
|
||||
if(ptr && ( ptr >= &*m.vert.begin() ) && ( ptr < &*m.vert.end() ) )
|
||||
if(ptr && ( ptr >= &*m.vert.begin() ) && ( ptr <= &*(m.vert.end() - 1) ) )
|
||||
ptr->SetS();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue