Skip to content
Snippets Groups Projects
Commit 4070cda1 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

%zi for size_t printf

parent 31e752ef
Branches
Tags
2 merge requests!136Master,!114size_t
......@@ -414,7 +414,7 @@ int main(int argc, char *argv[]) {
message("space %s periodic.", s.periodic ? "is" : "isn't");
message("highest-level cell dimensions are [ %i %i %i ].", s.cdim[0],
s.cdim[1], s.cdim[2]);
message("%i parts in %i cells.", s.nr_parts, s.tot_cells);
message("%zi parts in %i cells.", s.nr_parts, s.tot_cells);
message("maximum depth is %d.", s.maxdepth);
// message( "cutoffs in [ %g %g ]." , s.h_min , s.h_max ); fflush(stdout);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment