Fixed parts which caused a shadowing warning (same variable name used for different variables in the same scope)

This commit is contained in:
jpekkila
2019-12-03 18:41:08 +02:00
parent 04e27e85b2
commit f97e5cb77c
2 changed files with 3 additions and 3 deletions

View File

@@ -422,7 +422,7 @@ check_rk3(const AcMeshInfo& mesh_info)
acBoundcondStep();
boundconds(model_mesh->info, model_mesh);
for (int i = 0; i < num_iterations; ++i) {
for (int j = 0; j < num_iterations; ++j) {
// const AcReal umax = AcReal(acReduceVec(RTYPE_MAX, VTXBUF_UUX, VTXBUF_UUY,
// VTXBUF_UUZ));
// const AcReal dt = host_timestep(umax, mesh_info);