From: Joe Jordan Date: Mon, 10 May 2021 20:31:19 +0000 (+0000) Subject: Fix harmless bug in nonbonded FEP tests X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=021ab5ec736e780a692435d1ed22ddcba02da746;p=alexxy%2Fgromacs.git Fix harmless bug in nonbonded FEP tests --- diff --git a/src/gromacs/gmxlib/nonbonded/tests/nb_free_energy.cpp b/src/gromacs/gmxlib/nonbonded/tests/nb_free_energy.cpp index 5b7e08454c..9aa1ad0659 100644 --- a/src/gromacs/gmxlib/nonbonded/tests/nb_free_energy.cpp +++ b/src/gromacs/gmxlib/nonbonded/tests/nb_free_energy.cpp @@ -244,7 +244,7 @@ public: } void setSoftcoreAlpha(const real scAlpha) { fepVals_.sc_alpha = scAlpha; } - void setSoftcoreCoulomb(const real scCoulomb) { fepVals_.bScCoul = scCoulomb; } + void setSoftcoreCoulomb(const bool scCoulomb) { fepVals_.bScCoul = scCoulomb; } //! get forcerec data as wanted by the nonbonded kernel void getForcerec(t_forcerec* fr)