mirror of https://github.com/CGAL/cgal
Replace ?: with 'if' for expression templates.
This commit is contained in:
parent
3816bc4e4b
commit
1c6cf4b557
|
|
@ -134,7 +134,10 @@ NT prs_resultant_ufd(Polynomial<NT> A, Polynomial<NT> B) {
|
|||
delta = A.degree();
|
||||
g = B.lcoeff();
|
||||
internal::hgdelta_update(h, g, delta);
|
||||
h = signflip ? -(t*h) : t*h;
|
||||
if (signflip)
|
||||
h = -(t*h);
|
||||
else
|
||||
h = t*h;
|
||||
typename Algebraic_structure_traits<NT>::Simplify simplify;
|
||||
simplify(h);
|
||||
return h;
|
||||
|
|
|
|||
Loading…
Reference in New Issue