From 28de7e351a847257239282b69b6b8eacbc2a8918 Mon Sep 17 00:00:00 2001 From: Axel Kohlmeyer Date: Wed, 30 Dec 2020 09:23:47 -0500 Subject: [PATCH] fix off-by-one bug (arrhenius type constraint uses 5 parameters) --- src/USER-REACTION/fix_bond_react.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/USER-REACTION/fix_bond_react.h b/src/USER-REACTION/fix_bond_react.h index a66f57c2bc..ad8d657e74 100644 --- a/src/USER-REACTION/fix_bond_react.h +++ b/src/USER-REACTION/fix_bond_react.h @@ -33,7 +33,7 @@ class FixBondReact : public Fix { enum {MAXLINE=256}; // max length of line read from files enum {MAXCONIDS=4}; // max # of IDs used by any constraint - enum {MAXCONPAR=4}; // max # of constraint parameters + enum {MAXCONPAR=5}; // max # of constraint parameters FixBondReact(class LAMMPS *, int, char **); ~FixBondReact();