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

This commit is contained in:
sjplimp 2013-10-24 18:56:45 +00:00
parent b0d7fe1f26
commit 981c8b933c
1 changed files with 2 additions and 2 deletions

View File

@ -283,8 +283,8 @@ double FixShearHistory::memory_usage()
{
int nmax = atom->nmax;
double bytes = nmax * sizeof(int);
bytes = nmax * sizeof(int *);
bytes = nmax * sizeof(double *);
bytes += nmax * sizeof(int *);
bytes += nmax * sizeof(double *);
int nmypage = comm->nthreads;
for (int i = 0; i < nmypage; i++) {