mirror of https://github.com/CGAL/cgal
Use negate() instead of operator-() and assignment
This commit is contained in:
parent
5978611360
commit
2eb1af66cb
|
|
@ -167,7 +167,7 @@ public:
|
||||||
exp = idexp - nbits;
|
exp = idexp - nbits;
|
||||||
man = m;
|
man = m;
|
||||||
if(u.s.sig){
|
if(u.s.sig){
|
||||||
man = -man;
|
man.backend().negate();
|
||||||
}
|
}
|
||||||
#ifdef CGAL_CPPF
|
#ifdef CGAL_CPPF
|
||||||
assert(rat.sign() == man.sign());
|
assert(rat.sign() == man.sign());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue