| # | 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 | ||
| – | Removed lines | 
| + | Added lines | 
| < | Changed lines | 
| > | Changed lines |