Skip to content

Commit

Permalink
Update CGAL_Core/include/CGAL/CORE/extLong_impl.h
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Rineau <[email protected]>
  • Loading branch information
afabri and lrineau authored Mar 7, 2024
1 parent 4a30611 commit 7a0f3da
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CGAL_Core/include/CGAL/CORE/extLong_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}

Expand Down

0 comments on commit 7a0f3da

Please sign in to comment.