Fix port of gapsys-LJ to simd.
[alexxy/gromacs.git] / src / gromacs / gmxlib / nonbonded / nb_free_energy.cpp
index 41bcedc0585e0de8d7559f0e9d256797d501792b..e9f138e572214fb126162e6bd8d275d7dd21e768 100644 (file)
@@ -571,10 +571,6 @@ static void nb_free_energy_kernel(const t_nblist&
                             {
                                 /* c12 is stored scaled with 12.0 and c6 is scaled with 6.0 - correct for this */
                                 preloadSigma6VdWGapsys[i][s] = 0.5_real * c12 / c6;
-                                if (preloadSigma6VdWGapsys[i][s] < sigma6VdWGapsys)
-                                {
-                                    preloadSigma6VdWGapsys[i][s] = sigma6VdWGapsys;
-                                }
                             }
                             else
                             {