Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Dec 10, 2024
1 parent d6548ae commit e9063ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion singularity-opac/neutrinos/neutrino_variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Variant {
return mpark::visit(
[=](const auto &opac) {
using PC = typename std::decay_t<decltype(opac)>::PC;
return singularity::GetRuntimePhysicalConstants(PC());
return RuntimePhysicalConstants(PC());
},
opac_);
}
Expand Down
3 changes: 3 additions & 0 deletions test/test_gray_opacities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ TEST_CASE("Gray neutrino opacities", "[GrayNeutrinos]") {
neutrinos::Gray(1), time_unit, mass_unit, length_unit, temp_unit);
auto funny_units = funny_units_host.GetOnDevice();

auto noncgs_rpc = funny_units.GetRuntimePhysicalConstants();
printf("ar: %e\n", noncgs_rpc.ar);

THEN("We can convert meaningfully into and out of funny units") {
int n_wrong_h = 0;
#ifdef PORTABILITY_STRATEGY_KOKKOS
Expand Down

0 comments on commit e9063ff

Please sign in to comment.