| # | Line 316 | Line 316 | namespace oopse { | |
|---|---|---|
| 316 | ||
| 317 | std::vector<complex<Real> > roots; | |
| 318 | for (int i = 0; i < rank; i++) { | |
| 319 | < | roots.push_back(complex(reals(i), imags(i))); |
| 319 | > | roots.push_back(complex<Real>(reals(i), imags(i))); |
| 320 | } | |
| 321 | ||
| 322 | return roots; | |
| # | Line 633 | Line 633 | namespace oopse { | |
| 633 | Polynomial<Real> p(); | |
| 634 | ||
| 635 | typename Polynomial<Real>::const_iterator i; | |
| 636 | < | ExponentType exponent; |
| 637 | < | CoefficientType coefficient; |
| 636 | > | int exponent; |
| 637 | > | Real coefficient; |
| 638 | ||
| 639 | for (i = p1.begin(); i != p1.end(); ++i) { | |
| 640 | exponent = i->first; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |