dihedral base class did not initialize suffix_flag member.

This commit is contained in:
Axel Kohlmeyer
2020-05-14 19:27:26 -04:00
parent 20ad924a54
commit 87c34fb144

View File

@ -18,6 +18,7 @@
#include "atom_masks.h"
#include "memory.h"
#include "error.h"
#include "suffix.h"
using namespace LAMMPS_NS;
@ -32,6 +33,7 @@ Dihedral::Dihedral(LAMMPS *lmp) : Pointers(lmp)
writedata = 0;
allocated = 0;
suffix_flag = Suffix::NONE;
maxeatom = maxvatom = maxcvatom = 0;
eatom = NULL;