From 2eb1af66cbe166968bac871590176b9f01f73b22 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 13 Apr 2023 17:16:13 +0100 Subject: [PATCH] Use negate() instead of operator-() and assignment --- Number_types/include/CGAL/cpp_float.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Number_types/include/CGAL/cpp_float.h b/Number_types/include/CGAL/cpp_float.h index 8063ee2dd40..b8f1abe3577 100644 --- a/Number_types/include/CGAL/cpp_float.h +++ b/Number_types/include/CGAL/cpp_float.h @@ -167,7 +167,7 @@ public: exp = idexp - nbits; man = m; if(u.s.sig){ - man = -man; + man.backend().negate(); } #ifdef CGAL_CPPF assert(rat.sign() == man.sign());