avoid segfaults due to uninitialized data
This commit is contained in:
@ -68,7 +68,7 @@ static const char cite_neb_spin[] =
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
NEBSpin::NEBSpin(LAMMPS *lmp) : Command(lmp) {
|
||||
NEBSpin::NEBSpin(LAMMPS *lmp) : Command(lmp), fp(nullptr) {
|
||||
if (lmp->citeme) lmp->citeme->add(cite_neb_spin);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user