Skip to content

Commit

Permalink
remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
psharda committed Jul 28, 2023
1 parent bed26e3 commit 16f441a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/PassiveScalar/test_scalars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ template <> void RadhydroSimulation<ScalarProblem>::setInitialConditionsOnGrid(q
scalar = 0.0;
}

const auto gamma = quokka::EOS_Traits<ScalarProblem>::gamma;
for (int n = 0; n < state_cc.nComp(); ++n) {
state_cc(i, j, k, n) = 0.;
}
Expand Down Expand Up @@ -112,7 +111,6 @@ void RadhydroSimulation<ScalarProblem>::computeReferenceSolution(amrex::MultiFab
scalar = 0.0;
}

const auto gamma = quokka::EOS_Traits<ScalarProblem>::gamma;
for (int n = 0; n < ncomp; ++n) {
stateExact(i, j, k, n) = 0.;
}
Expand Down

0 comments on commit 16f441a

Please sign in to comment.