silence more compiler warnings

This commit is contained in:
Axel Kohlmeyer
2021-04-23 16:57:39 -04:00
parent 99fa6ed4b4
commit 917cd1b924
10 changed files with 17 additions and 18 deletions

View File

@ -308,7 +308,7 @@ void ComputeOrientOrderAtom::compute_peratom()
// if not nnn neighbors, order parameter = 0;
if ((ncount == 0) || (ncount < nnn)) {
for (int jj = 0; jj < ncol; jj++)
for (jj = 0; jj < ncol; jj++)
qn[jj] = 0.0;
continue;
}