avoid creating empty per atom position arrays for enforcing pbc for dumps

This commit is contained in:
Axel Kohlmeyer
2021-08-26 16:16:30 -04:00
parent 0d8c58db02
commit 6fea5dd316

View File

@ -100,7 +100,7 @@ Dump::Dump(LAMMPS *lmp, int /*narg*/, char **arg) : Pointers(lmp)
maxsbuf = 0;
sbuf = nullptr;
maxpbc = 0;
maxpbc = -1;
xpbc = vpbc = nullptr;
imagepbc = nullptr;