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

Comparing trunk/src/math/CubicSpline.cpp (file contents):
Revision 2058 by gezelter, Tue Mar 3 15:35:45 2015 UTC vs.
Revision 2071 by gezelter, Sat Mar 7 21:41:51 2015 UTC

# Line 50 | Line 50 | using namespace std;
50   using namespace OpenMD;
51   using namespace std;
52  
53 < CubicSpline::CubicSpline() : generated(false), isUniform(true) {
53 > CubicSpline::CubicSpline() : isUniform(true), generated(false) {
54    x_.clear();
55    y_.clear();
56   }
# Line 83 | Line 83 | void CubicSpline::generate() {
83    //   d   = vector of S'''(x_[i]+)/6 values (i < n).
84    // Local variables:  
85  
86 <  RealType fp1, fpn, h, p;
86 >  RealType fp1, fpn, p;
87 >  RealType h(0.0);
88    
89    // make sure the sizes match
90    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines