fix: HEP compilation issues fixed

This commit is contained in:
Mateusz Pusz
2021-09-09 09:20:10 +02:00
parent 7708cb458c
commit 04e66188bd
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ using namespace area_references;
namespace units::aliases::isq::si::hep::inline area { namespace units::aliases::isq::si::hep::inline area {
template<Representation Rep = double> using barn = units::isq::si::hep::area<units::isq::si::hep::barn, Rep>; template<Representation Rep = double> using barn = units::isq::si::area<units::isq::si::hep::barn, Rep>;
} // namespace units::aliases::isq::si::hep::inline area } // namespace units::aliases::isq::si::hep::inline area

View File

@@ -45,7 +45,7 @@ struct meV : prefixed_unit<meV, milli, electronvolt> {};
using eV = electronvolt; using eV = electronvolt;
struct keV : prefixed_unit<keV, kilo, electronvolt> {}; struct keV : prefixed_unit<keV, kilo, electronvolt> {};
struct MeV : prefixed_unit<MeV, mega, electronvolt> {}; struct MeV : prefixed_unit<MeV, mega, electronvolt> {};
struct GeV : prefixed_unit<GeV, giga, electronvolt> {}; using GeV = gigaelectronvolt;
struct TeV : prefixed_unit<TeV, tera, electronvolt> {}; struct TeV : prefixed_unit<TeV, tera, electronvolt> {};
struct PeV : prefixed_unit<PeV, peta, electronvolt> {}; struct PeV : prefixed_unit<PeV, peta, electronvolt> {};
struct EeV : prefixed_unit<EeV, exa, electronvolt> {}; // N.B. very rarely used struct EeV : prefixed_unit<EeV, exa, electronvolt> {}; // N.B. very rarely used