Fix some more double literals.
[alexxy/gromacs.git] / src / gromacs / listed_forces / pairs.cpp
index 8e267f23b7daf3103ca6888db3d5ce00bd30217e..2d11a3cf71eafeffdefe708cde6d765e00bf43a2 100644 (file)
@@ -414,7 +414,7 @@ static real free_energy_evaluate_single(real
                 fscal_vdw[i] = -quadrFac + linearFac;
                 fscal_vdw[i] *= rpinv;
 
-                vvdw[i] = 0.5 * quadrFac - linearFac + constFac;
+                vvdw[i] = 0.5_real * quadrFac - linearFac + constFac;
 
                 dvdl_vdw[i] += DLF[i] * 28 * (LFV[i] / (one - LFV[i]))
                                * ((6.5_real * rInv14 - rInv8) - (13 * rInv13 - 2 * rInv7)