Merge pull request #2282 from mglisse/Nef_S2-sign-glisse

Qualify call to CGAL::sign.
This commit is contained in:
Laurent Rineau 2017-07-25 18:17:26 +02:00
commit 6f687c6b92
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>