forked from lijiext/lammps
Fixed another bug in edge_histo
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14473 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
34785af4a6
commit
ad1d7ffdc7
|
@ -305,7 +305,8 @@ void ComputeVoronoi::buildCells()
|
|||
}
|
||||
|
||||
// clear edge statistics
|
||||
for (i = 0; i <= maxedge; ++i) edge[i]=0;
|
||||
if ( maxedge > 0 )
|
||||
for (i = 0; i <= maxedge; ++i) edge[i]=0;
|
||||
|
||||
// initialize voro++ container
|
||||
// preallocates 8 atoms per cell
|
||||
|
|
Loading…
Reference in New Issue