mirror of
https://github.com/mpusz/mp-units.git
synced 2025-08-03 04:14:27 +02:00
fix: HEP compilation issues fixed
This commit is contained in:
@@ -94,7 +94,7 @@ using namespace area_references;
|
||||
|
||||
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
|
||||
|
||||
|
@@ -45,7 +45,7 @@ struct meV : prefixed_unit<meV, milli, electronvolt> {};
|
||||
using eV = electronvolt;
|
||||
struct keV : prefixed_unit<keV, kilo, 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 PeV : prefixed_unit<PeV, peta, electronvolt> {};
|
||||
struct EeV : prefixed_unit<EeV, exa, electronvolt> {}; // N.B. very rarely used
|
||||
|
Reference in New Issue
Block a user