--- trunk/src/nonbonded/SwitchingFunction.cpp 2013/07/01 21:09:37 1895 +++ trunk/src/nonbonded/SwitchingFunction.cpp 2015/03/07 21:41:51 2071 @@ -50,8 +50,9 @@ namespace OpenMD { using namespace std; namespace OpenMD { - SwitchingFunction::SwitchingFunction() : np_(150), haveSpline_(false), - isCubic_(true), functionType_(cubic) { + SwitchingFunction::SwitchingFunction() : functionType_(cubic), + haveSpline_(false), isCubic_(true), + np_(150) { switchSpline_ = new CubicSpline(); }