From eeb9209af8a33a7c2cea06228603ad2019133071 Mon Sep 17 00:00:00 2001 From: Steve Plimpton Date: Wed, 17 Aug 2022 10:55:28 -0600 Subject: [PATCH] bug fix --- src/fix_ave_grid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fix_ave_grid.cpp b/src/fix_ave_grid.cpp index 72c2b8dcb6..5d0c5d8be6 100644 --- a/src/fix_ave_grid.cpp +++ b/src/fix_ave_grid.cpp @@ -263,7 +263,7 @@ FixAveGrid::FixAveGrid(LAMMPS *lmp, int narg, char **arg) : if (normflag != ALL) error->all(FLERR,"Fix ave/grid norm all is required for now"); - if (normflag != ONE) + if (ave != ONE) error->all(FLERR,"Fix ave/grid ave one is required for now"); // error checks for ATOM mode