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

This commit is contained in:
sjplimp
2015-03-04 15:24:51 +00:00
parent 472b4fd62b
commit ee00c0f654
7 changed files with 55 additions and 49 deletions

View File

@ -373,7 +373,7 @@ ComputeChunkAtom::ComputeChunkAtom(LAMMPS *lmp, int narg, char **arg) :
id_fix = NULL;
fixstore = NULL;
if (compress) hash = new std::map<int,int>();
if (compress) hash = new std::map<tagint,int>();
else hash = NULL;
maxvar = 0;
@ -1010,7 +1010,7 @@ void ComputeChunkAtom::compress_chunk_ids()
void ComputeChunkAtom::idring(int n, char *cbuf)
{
tagint *list = (tagint *) cbuf;
std::map<int,int> *hash = cptr->hash;
std::map<tagint,int> *hash = cptr->hash;
for (int i = 0; i < n; i++) (*hash)[list[i]] = 0;
}