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
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 2 additions and 0 deletions

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;