Skip to content

Commit

Permalink
oops need to call constructor...
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahm-LANL committed Jan 2, 2025
1 parent a668459 commit 0e1d388
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion singularity-opac/neutrinos/mean_opacity_neutrinos.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class MeanOpacity {
const Real YeMax, const int NYe, Real lNuMin,
Real lNuMax, const int NNu, Real *lambda = nullptr) {
#ifndef NDEBUG
auto RPC = RuntimePhysicalConstants(PC);
auto RPC = RuntimePhysicalConstants(PC());
auto opc = opac.GetRuntimePhysicalConstants();
assert(RPC == opc && "Physical constants are the same");
#endif
Expand Down
2 changes: 1 addition & 1 deletion singularity-opac/photons/mean_opacity_photons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class MeanOpacity {
const Real lTMax, const int NT, Real lNuMin,
Real lNuMax, const int NNu, Real *lambda = nullptr) {
#ifndef NDEBUG
auto RPC = RuntimePhysicalConstants(PC);
auto RPC = RuntimePhysicalConstants(PC());
auto opc = opac.GetRuntimePhysicalConstants();
assert(RPC == opc && "Physical constants are the same");
#endif
Expand Down

0 comments on commit 0e1d388

Please sign in to comment.