Skip to content

Commit

Permalink
One more using statement
Browse files Browse the repository at this point in the history
  • Loading branch information
brryan committed Jan 22, 2024
1 parent 46a6dde commit 34de0ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions singularity-opac/photons/mean_opacity_photons.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ template <typename pc = PhysicalConstantsCGS>
class MeanOpacity {

public:
using DataBox = Spiner::DataBox<Real>;
MeanOpacity() = default;
template <typename Opacity>
MeanOpacity(const Opacity &opac, const Real lRhoMin, const Real lRhoMax,
Expand Down Expand Up @@ -186,8 +187,8 @@ class MeanOpacity {
PORTABLE_INLINE_FUNCTION Real fromLog_(const Real lx) const {
return std::pow(10., lx);
}
Spiner::DataBox<Real> lkappaPlanck_;
Spiner::DataBox<Real> lkappaRosseland_;
DataBox lkappaPlanck_;
DataBox lkappaRosseland_;
const char *filename_;
};

Expand Down

0 comments on commit 34de0ed

Please sign in to comment.