From 7a0f3da89bdb3f51d3e59d52ee42657d9b8eaca6 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Thu, 7 Mar 2024 11:26:14 +0100 Subject: [PATCH] Update CGAL_Core/include/CGAL/CORE/extLong_impl.h Co-authored-by: Laurent Rineau --- CGAL_Core/include/CGAL/CORE/extLong_impl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CGAL_Core/include/CGAL/CORE/extLong_impl.h b/CGAL_Core/include/CGAL/CORE/extLong_impl.h index 665642b15f3..1d636545eee 100644 --- a/CGAL_Core/include/CGAL/CORE/extLong_impl.h +++ b/CGAL_Core/include/CGAL/CORE/extLong_impl.h @@ -180,9 +180,7 @@ extLong extLong::operator- () const { // you cannot interpret the returned value! CGAL_INLINE_FUNCTION int extLong::sign() const { - if (flag == 2){ - CGAL_CORE_warning_msg(false, "NaN Sign can not be determined!"); - } + CGAL_CORE_warning_msg(flag != 2, "NaN Sign can not be determined!"); return ((val == 0) ? 0 : ((val > 0) ? 1 : -1)); }