From 1597e78d5a0ed99e11c371e300b6a9ba4c96aa25 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer <akohlmey@gmail.com> Date: Sat, 17 Nov 2018 06:39:28 -0500 Subject: [PATCH] guarantee initialization of hyperflag --- src/REPLICA/fix_hyper.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/REPLICA/fix_hyper.cpp b/src/REPLICA/fix_hyper.cpp index 829d4b2474..c86c00ad45 100644 --- a/src/REPLICA/fix_hyper.cpp +++ b/src/REPLICA/fix_hyper.cpp @@ -18,7 +18,8 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -FixHyper::FixHyper(LAMMPS *lmp, int narg, char **arg) : Fix(lmp, narg, arg) {} +FixHyper::FixHyper(LAMMPS *lmp, int narg, char **arg) + : Fix(lmp, narg, arg), hyperflag(0) {} /* ---------------------------------------------------------------------- extract hyper flag setting for all Fixes that perform hyperdynamics -- GitLab