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

Comparing branches/development/src/math/Polynomial.hpp (file contents):
Revision 1772 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1773 by gezelter, Tue Aug 7 18:26:40 2012 UTC

# Line 274 | Line 274 | namespace OpenMD {
274       * @return the first derivative of this polynomial
275       */
276      PolynomialType & getDerivative() {
277 <      Polynomial<Real> p();
277 >      Polynomial<Real> p;
278        
279        typename Polynomial<Real>::const_iterator i;
280        ExponentType exponent;
# Line 631 | Line 631 | namespace OpenMD {
631     */
632    template<typename Real>
633    Polynomial<Real> getDerivative(const Polynomial<Real>& p1) {
634 <    Polynomial<Real> p();
634 >    Polynomial<Real> p;
635      
636      typename Polynomial<Real>::const_iterator i;
637      int exponent;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines