initialize all pointers to null

This commit is contained in:
Axel Kohlmeyer
2023-03-30 14:19:07 -04:00
parent 6b25b67a08
commit 0da6d71757

View File

@ -31,7 +31,9 @@ using namespace LAMMPS_NS;
/* ---------------------------------------------------------------------- */
PairBornGauss::PairBornGauss(LAMMPS *lmp) : Pair(lmp)
PairBornGauss::PairBornGauss(LAMMPS *lmp) :
Pair(lmp), cut(nullptr), biga0(nullptr), alpha(nullptr), biga1(nullptr), beta(nullptr),
r0(nullptr), offset(nullptr)
{
single_enable = 1;
respa_enable = 0;