Qualify call to CGAL::sign.

This commit is contained in:
Marc Glisse 2017-07-20 16:24:17 +02:00 committed by Laurent Rineau
parent cc65b11d6d
commit 1b77180e62
1 changed files with 3 additions and 3 deletions

View File

@ -157,9 +157,9 @@ bool equal_not_opposite(const CGAL::Sphere_circle<R>& c1,
const CGAL::Sphere_circle<R>& c2) {
// function should be called to decide whether two circles
// are equal or opposites. returns true iff |c1| and |c2| are equal
if(c1.a() != 0) return sign(c1.a()) == sign(c2.a());
if(c1.b() != 0) return sign(c1.b()) == sign(c2.b());
return sign(c1.c()) == sign(c2.c());
if(c1.a() != 0) return CGAL::sign(c1.a()) == CGAL::sign(c2.a());
if(c1.b() != 0) return CGAL::sign(c1.b()) == CGAL::sign(c2.b());
return CGAL::sign(c1.c()) == CGAL::sign(c2.c());
}
template <typename R>