Skip to content

Commit

Permalink
remove old code
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Dec 10, 2024
1 parent d23ac73 commit d6548ae
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions singularity-opac/photons/photon_variant.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,18 +74,11 @@ class Variant {
PORTABLE_INLINE_FUNCTION RuntimePhysicalConstants
GetRuntimePhysicalConstants() const {
return mpark::visit(
//[](auto &opac) { return opac.GetRuntimePhysicalConstants(); }, opac_);
[](auto &opac) {
using PC = typename std::decay_t<decltype(opac)>::PC;
return RuntimePhysicalConstants(PC());
},
opac_);
// return mpark::visit(
// [=](const auto &opac) {
// using PC = typename std::decay_t<decltype(opac)>::PC;
// return singularity::GetRuntimePhysicalConstants(PC());
// },
// opac_);
}

// Directional absorption coefficient with units of 1/length
Expand Down

0 comments on commit d6548ae

Please sign in to comment.