--- trunk/OOPSE/staticProps/PairCorrType.cpp 2003/10/17 21:18:25 809 +++ trunk/OOPSE/staticProps/PairCorrType.cpp 2003/10/17 21:19:07 810 @@ -1,6 +1,7 @@ #include #include #include +#include #include "simError.h" #include "PairCorrType.hpp" @@ -101,7 +102,7 @@ void PairCorrType::setFrameVolume( double theVolume ){ if( isSelfSelf ) pairDensity = nAtoms1 * (nAtoms1 - 1) / volume; else pairDensity = nAtoms1 * nAtoms2 / volume; - pairConstant = ( 4.0 * M_PI * pairDens ) / 3.0; + pairConstant = ( 4.0 * M_PI * pairDensity ) / 3.0; }