Skip to content
Snippets Groups Projects
Commit ad1d7ffd authored by athomps's avatar athomps
Browse files

Fixed another bug in edge_histo

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14473 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 34785af4
No related branches found
No related tags found
No related merge requests found
...@@ -305,7 +305,8 @@ void ComputeVoronoi::buildCells() ...@@ -305,7 +305,8 @@ void ComputeVoronoi::buildCells()
} }
// clear edge statistics // 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 // initialize voro++ container
// preallocates 8 atoms per cell // preallocates 8 atoms per cell
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment