mirror of https://github.com/CGAL/cgal
Add parenthesis to avoid warning
This commit is contained in:
parent
d0d8efeeee
commit
4a30611cdb
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue