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

@ -139,7 +139,7 @@ void ComputeGyrationChunk::compute_vector()
MPI_Allreduce(rg,rgall,nchunk,MPI_DOUBLE,MPI_SUM,world);
for (int i = 0; i < nchunk; i++)
for (i = 0; i < nchunk; i++)
if (masstotal[i] > 0.0)
rgall[i] = sqrt(rgall[i]/masstotal[i]);
}