mirror of https://github.com/CGAL/cgal
There is no need to compare addresses, compare iterators directly
Also needed for determinism
This commit is contained in:
parent
146fc90a33
commit
592d60ff0d
|
|
@ -2052,11 +2052,11 @@ inline void
|
|||
Periodic_3_triangulation_3<GT,TDS>::
|
||||
make_canonical(Vertex_triple& t) const
|
||||
{
|
||||
int i = (&*(t.first) < &*(t.second))? 0 : 1;
|
||||
int i = (t.first < t.second) ? 0 : 1;
|
||||
if(i==0) {
|
||||
i = (&*(t.first) < &*(t.third))? 0 : 2;
|
||||
i = (t.first < t.third) ? 0 : 2;
|
||||
} else {
|
||||
i = (&*(t.second) < &*(t.third))? 1 : 2;
|
||||
i = (t.second < t.third) ? 1 : 2;
|
||||
}
|
||||
Vertex_handle tmp;
|
||||
switch(i) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue