Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
carlnotsagan committed Dec 13, 2023
1 parent bbdd56e commit 1a77b2d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/radiation/cooling_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,9 @@ TaskStatus LightBulbCalcTau(MeshBlockData<Real> *rc) {
IndexRange jb = rc->GetBoundsJ(IndexDomain::interior);
IndexRange kb = rc->GetBoundsK(IndexDomain::interior);

auto &unit_conv = const Real density_conversion_factor =
unit_conv.GetMassDensityCodeToCGS();
auto &unit_conv = params.Get<phoebus::UnitConversions>("unit_conv");
const Real density_conversion_factor = unit_conv.GetMassDensityCodeToCGS();

pmesh->packages.Get("phoebus")->Param<phoebus::UnitConversions>("unit_conv");
parthenon::par_for(
DEFAULT_LOOP_PATTERN, "CalcTau", DevExecSpace(), kb.s, kb.e, jb.s, jb.e, ib.s, ib.e,
Expand Down

0 comments on commit 1a77b2d

Please sign in to comment.