initialize pointers, remove unused class member

This commit is contained in:
Axel Kohlmeyer
2022-01-22 17:06:13 -05:00
parent d854e58d00
commit 458ae4e38a
2 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,7 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
BondFENENM::BondFENENM(LAMMPS *lmp) : BondFENE(lmp) {}
BondFENENM::BondFENENM(LAMMPS *lmp) : BondFENE(lmp), nn(nullptr), mm(nullptr) {}
/* ---------------------------------------------------------------------- */

View File

@ -38,7 +38,6 @@ class BondFENENM : public BondFENE {
virtual void *extract(const char *, int &);
protected:
double TWO_1_3;
double *nn, *mm;
virtual void allocate();