Add parenthesis to avoid warning

This commit is contained in:
Andreas Fabri 2024-03-07 08:28:23 +00:00
parent d0d8efeeee
commit 4a30611cdb
1 changed files with 2 additions and 1 deletions

View File

@ -180,8 +180,9 @@ extLong extLong::operator- () const {
// you cannot interpret the returned value!
CGAL_INLINE_FUNCTION
int extLong::sign() const {
if (flag == 2)
if (flag == 2){
CGAL_CORE_warning_msg(false, "NaN Sign can not be determined!");
}
return ((val == 0) ? 0 : ((val > 0) ? 1 : -1));
}