fix off-by-one bug (arrhenius type constraint uses 5 parameters)

This commit is contained in:
Axel Kohlmeyer
2020-12-30 09:23:47 -05:00
parent 4f5192fa86
commit 28de7e351a

View File

@ -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();