Skip to content

Commit

Permalink
inconsistent references to pmesh and pmb
Browse files Browse the repository at this point in the history
  • Loading branch information
carlnotsagan committed Dec 13, 2023
1 parent 76e58d6 commit f316490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/radiation/cooling_function.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ TaskStatus LightBulbCalcTau(MeshBlockData<Real> *rc) {
IndexRange kb = rc->GetBoundsK(IndexDomain::interior);

auto &unit_conv =
pmb->packages.Get("phoebus")->Param<phoebus::UnitConversions>("unit_conv");
pmesh->packages.Get("phoebus")->Param<phoebus::UnitConversions>("unit_conv");
const Real density_conversion_factor = unit_conv.GetMassDensityCodeToCGS();

pmesh->packages.Get("phoebus")->Param<phoebus::UnitConversions>("unit_conv");
Expand Down

0 comments on commit f316490

Please sign in to comment.