fix cut-n-paste bug that crashed LAMMPS on reading molecular data files with -DLAMMPS_BIGBIG

This commit is contained in:
Axel Kohlmeyer 2020-06-07 21:35:06 -04:00
parent a9d1932032
commit 864103f93e
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ void AtomVec::grow(int n)
memory->grow(*((bigint ***) pdata),nmax*nthreads,cols,"atom:barray");
else {
maxcols = *(mgrow.maxcols[i]);
memory->grow(*((int ***) pdata),nmax*nthreads,maxcols,"atom:barray");
memory->grow(*((bigint ***) pdata),nmax*nthreads,maxcols,"atom:barray");
}
}
}