git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@772 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2007-08-03 19:43:14 +00:00
parent 124c51243b
commit 4b78a11135
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ void Neighbor::stencil_allocate(int sx, int sy, int sz)
{
int i;
// for 2d, sz = 0
int nmax = (2*sz+1) * (2*sy+1) * (2*sx+1);
if (half) {