minor change to merge vertex coherently (keep the same global ordering of the vertices)

This commit is contained in:
Nico Pietroni 2014-12-08 15:13:32 +00:00
parent 9c85a56214
commit f7a602625f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ public:
public: public:
inline bool operator()(VertexPointer const &a, VertexPointer const &b) inline bool operator()(VertexPointer const &a, VertexPointer const &b)
{ {
return (*a).cP() < (*b).cP(); return ((*a).cP() == (*b).cP()) ? (a<b): ((*a).cP() < (*b).cP());
} }
}; };