| # | Line 40 | Line 40 | |
|---|---|---|
| 40 | * [5] Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011). | |
| 41 | */ | |
| 42 | ||
| 43 | < | #include <cmath> |
| 43 | > | #include "utils/NumericConstant.hpp" |
| 44 | #include "primitives/Atom.hpp" | |
| 45 | #include "types/FluctuatingChargeAdapter.hpp" | |
| 46 | ||
| # | Line 53 | Line 53 | namespace OpenMD { | |
| 53 | FluctuatingChargeAdapter fca = FluctuatingChargeAdapter(at); | |
| 54 | chargeMass_ = fca.getChargeMass(); | |
| 55 | } else { | |
| 56 | < | chargeMass_ = INFINITY; |
| 56 | > | chargeMass_ = NumericConstant::infinity; |
| 57 | } | |
| 58 | } | |
| 59 | ||
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |