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

Comparing trunk/src/math/Polynomial.hpp (file contents):
Revision 1782 by gezelter, Wed Aug 22 02:28:28 2012 UTC vs.
Revision 1792 by gezelter, Fri Aug 31 17:29:35 2012 UTC

# Line 337 | Line 337 | namespace OpenMD {
337          Real fC0 = getCoefficient(0);
338          roots.push_back( -fC0 / fC1);
339          return roots;
340      }
340          break;      
341 +      }
342        case 2: {
343          Real fC2 = getCoefficient(2);
344          Real fC1 = getCoefficient(1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines