Skip to content
Snippets Groups Projects
Commit 3224b1a6 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fix typo in stats gathering in the tools.c reported by Mladen

parent 77ec8bf8
No related branches found
No related tags found
No related merge requests found
......@@ -133,7 +133,7 @@ void pairs_n2(double *dim, struct part *restrict parts, int N, int periodic) {
// count += parts[k].icount;
rho += parts[k].density.wcount;
rho_min = fmin(parts[k].density.wcount, rho_min);
rho_min = fmax(parts[k].density.wcount, rho_max);
rho_max = fmax(parts[k].density.wcount, rho_max);
}
/* Dump the result. */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment