Unverified Commit 864103f9 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

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

parent a9d19320
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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");
      }
    }
  }