avoid accessing uninitialized data when exiting LAMMPS early

This commit is contained in:
Axel Kohlmeyer
2017-07-12 18:00:38 -04:00
parent 734729b0a4
commit 01e848387a

View File

@ -124,6 +124,7 @@ void CommBrick::init_buffers()
maxrecv = BUFMIN;
memory->create(buf_recv,maxrecv,"comm:buf_recv");
nswap = 0;
maxswap = 6;
allocate_swap(maxswap);