From dfa039652e4d137aac7fe05cc349e0426a5c19a6 Mon Sep 17 00:00:00 2001 From: Aleksei Iupinov Date: Thu, 9 Feb 2017 13:39:44 +0100 Subject: [PATCH] Add initialization to dvdlambda in bonded forces tests Should fix #2093. Change-Id: I7c99200443bd13c26757615d3101da1c52c8859d --- src/gromacs/listed-forces/tests/bonded.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gromacs/listed-forces/tests/bonded.cpp b/src/gromacs/listed-forces/tests/bonded.cpp index b4e263f7e7..e7b72be85f 100644 --- a/src/gromacs/listed-forces/tests/bonded.cpp +++ b/src/gromacs/listed-forces/tests/bonded.cpp @@ -127,8 +127,8 @@ class BondedTest : public ::testing::Test const t_iparams iparams[], int epbc) { - real lambda = 0; - real dvdlambda; + real lambda = 0; + real dvdlambda = 0; rvec4 f[NATOMS]; for (int i = 0; i < NATOMS; i++) { -- 2.11.4.GIT