diff --git a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Algebraic_real_d_1.h b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Algebraic_real_d_1.h index ebdcf756f33..1ffe9e03a8b 100644 --- a/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Algebraic_real_d_1.h +++ b/Algebraic_kernel_d/include/CGAL/Algebraic_kernel_d/Algebraic_real_d_1.h @@ -321,9 +321,10 @@ public: void refine_to(const Rational& lo, const Rational& hi) const { // test whether lo < x < hi // and refines isolating interval until in ]lo,hi[ - CGAL::Comparison_result s; - s = compare_distinct(lo); CGAL_assertion(CGAL::LARGER == s); - s = compare_distinct(hi) ; CGAL_assertion(CGAL::SMALLER == s); + CGAL_assertion_code(CGAL::Comparison_result s =) compare_distinct(lo); + CGAL_assertion(CGAL::LARGER == s); + CGAL_assertion_code(s =) compare_distinct(hi); + CGAL_assertion(CGAL::SMALLER == s); }