From f316490af86d6605a80013212f8b0660b008432d Mon Sep 17 00:00:00 2001 From: carlnotsagan Date: Wed, 13 Dec 2023 12:10:33 -0700 Subject: [PATCH] inconsistent references to pmesh and pmb --- src/radiation/cooling_function.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/radiation/cooling_function.cpp b/src/radiation/cooling_function.cpp index 2692d204a..c119a4890 100644 --- a/src/radiation/cooling_function.cpp +++ b/src/radiation/cooling_function.cpp @@ -40,7 +40,7 @@ TaskStatus LightBulbCalcTau(MeshBlockData *rc) { IndexRange kb = rc->GetBoundsK(IndexDomain::interior); auto &unit_conv = - pmb->packages.Get("phoebus")->Param("unit_conv"); + pmesh->packages.Get("phoebus")->Param("unit_conv"); const Real density_conversion_factor = unit_conv.GetMassDensityCodeToCGS(); pmesh->packages.Get("phoebus")->Param("unit_conv");