From 4c3d42e0403187cd1638dd08fac321434f1b5ec2 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 13 Oct 2010 15:24:17 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5035 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/fix_ave_spatial.cpp | 1 - src/variable.h | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/fix_ave_spatial.cpp b/src/fix_ave_spatial.cpp index 7497e865ce..c73a321d2b 100644 --- a/src/fix_ave_spatial.cpp +++ b/src/fix_ave_spatial.cpp @@ -570,7 +570,6 @@ void FixAveSpatial::end_of_step() int *mask = atom->mask; int nlocal = atom->nlocal; - if (nlocal > maxatomlayer) { maxatomlayer = atom->nmax; memory->sfree(layer); diff --git a/src/variable.h b/src/variable.h index 47f9f5d394..841abb3229 100644 --- a/src/variable.h +++ b/src/variable.h @@ -54,9 +54,9 @@ class Variable : protected Pointers { double value; double *array; int *iarray; - int ivalue1,ivalue2; - int nstride; int type; + int nstride; + int ivalue1,ivalue2; Tree *left,*middle,*right; };