#include "gromacs/legacyheaders/orires.h"
+#include <cmath>
+
#include "gromacs/legacyheaders/copyrite.h"
#include "gromacs/legacyheaders/main.h"
#include "gromacs/legacyheaders/network.h"
else
{
snew(od->Dtav, od->nr);
- od->edt = exp(-ir->delta_t/ir->orires_tau);
+ od->edt = std::exp(-ir->delta_t/ir->orires_tau);
od->edt_1 = 1.0 - od->edt;
/* Extend the state with the orires history */
d++;
}
- od->rmsdev = sqrt(wsv2/sw);
+ od->rmsdev = std::sqrt(wsv2/sw);
/* Rotate the S matrices back, so we get the correct grad(tr(S D)) */
for (ex = 0; ex < od->nex; ex++)
}
else
{
- dev = sqrt(dev*devins);
+ dev = std::sqrt(dev*devins);
if (devins < 0)
{
dev = -dev;