ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/Polynomial.hpp
(Generate patch)

Comparing trunk/src/math/Polynomial.hpp (file contents):
Revision 1361 by gezelter, Thu Aug 13 21:21:51 2009 UTC vs.
Revision 1362 by cli2, Tue Sep 8 15:48:33 2009 UTC

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines