#include "gromacs/legacyheaders/chargegroup.h"
-#include <math.h>
+#include <cmath>
#include "gromacs/legacyheaders/typedefs.h"
#include "gromacs/math/vec.h"
sfree(bLJ);
- *rvdw1 = sqrt(r2v1);
- *rvdw2 = sqrt(r2v2);
- *rcoul1 = sqrt(r2c1);
- *rcoul2 = sqrt(r2c2);
+ *rvdw1 = std::sqrt(r2v1);
+ *rvdw2 = std::sqrt(r2v2);
+ *rcoul1 = std::sqrt(r2c1);
+ *rcoul2 = std::sqrt(r2c2);
}
void calc_cgcm(FILE gmx_unused *fplog, int cg0, int cg1, t_block *cgs,