--- branches/development/src/primitives/Atom.cpp 2012/05/22 21:55:31 1715 +++ branches/development/src/primitives/Atom.cpp 2012/07/06 22:01:58 1767 @@ -40,7 +40,7 @@ * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). */ -#include +#include "utils/NumericConstant.hpp" #include "primitives/Atom.hpp" #include "types/FluctuatingChargeAdapter.hpp" @@ -53,7 +53,7 @@ namespace OpenMD { FluctuatingChargeAdapter fca = FluctuatingChargeAdapter(at); chargeMass_ = fca.getChargeMass(); } else { - chargeMass_ = INFINITY; + chargeMass_ = NumericConstant::infinity; } }