Skip to content

Commit

Permalink
Add parenthesis to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
afabri committed Mar 7, 2024
1 parent d0d8efe commit 4a30611
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CGAL_Core/include/CGAL/CORE/extLong_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 4a30611

Please sign in to comment.