mirror of https://github.com/CGAL/cgal
fix obvious performance bug in Isolate_1
This commit is contained in:
parent
72de264daf
commit
cf9d775f90
|
|
@ -533,6 +533,9 @@ public:
|
|||
|
||||
std::pair<Bound,Bound> operator() (const Algebraic_real_1 a,
|
||||
const Polynomial_1 p) const {
|
||||
|
||||
if(p == a.polynomial()) return std::make_pair(a.low(),a.high());
|
||||
|
||||
std::vector<Algebraic_real_1> roots;
|
||||
// First isolate p...
|
||||
Solve_1()(p,false,std::back_inserter(roots));
|
||||
|
|
|
|||
Loading…
Reference in New Issue