Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Oct 9, 2023
1 parent 8b49d77 commit afd6c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/sparse_advection/parthenon_app_inputs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ void PostStepDiagnosticsInLoop(Mesh *mesh, ParameterInput *pin, const SimTime &t
}
std::printf("\n");
Real mem_avg = static_cast<Real>(mem_tot) / static_cast<Real>(blocks_tot);
std::printf("\tMem used/block in bytes [min, max, avg] = [%ld, %ld, %.14e]\n",
std::printf("\tMem used/block in bytes [min, max, avg] = [%lu, %lu, %.14e]\n",
mem_min, mem_max, mem_avg);
}
}
Expand Down

0 comments on commit afd6c03

Please sign in to comment.