From: Roland Schulz Date: Mon, 26 Jan 2015 08:29:13 +0000 (-0500) Subject: Fix FP exception in FE X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=commitdiff_plain;h=19f442abed32a06a30f4c1f9b3457dbbce9502b8;p=alexxy%2Fgromacs.git Fix FP exception in FE Part of #1677 Change-Id: I212d52a232763e3f3b3652ea488ba5e05683aab1 --- diff --git a/src/gromacs/listed-forces/listed-forces.cpp b/src/gromacs/listed-forces/listed-forces.cpp index 8e6a50656d..1864494bf4 100644 --- a/src/gromacs/listed-forces/listed-forces.cpp +++ b/src/gromacs/listed-forces/listed-forces.cpp @@ -509,7 +509,7 @@ void calc_listed_lambda(const t_idef *idef, { int ftype, nr_nonperturbed, nr; real v; - real dvdl_dum[efptNR]; + real dvdl_dum[efptNR] = {0}; rvec *f, *fshift; const t_pbc *pbc_null; t_idef idef_fe;