Skip to content

Commit

Permalink
fix: compilation issues fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpusz committed Jan 26, 2024
1 parent e0f9048 commit 3382cb4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/systems/include/mp-units/systems/hep/hep.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@

#pragma once

#include <mp-units/systems/si/constants.h>
#include <mp-units/systems/si/units.h>
#include <mp-units/systems/si/si.h>
#include <mp-units/unit.h>

template<>
Expand Down Expand Up @@ -53,6 +52,8 @@ inline constexpr struct speed_of_light : decltype(si::si2019::speed_of_light_in_

namespace unit_symbols {

using si::unit_symbols::eV;

inline constexpr auto qeV = si::quecto<electronvolt>;
inline constexpr auto reV = si::ronto<electronvolt>;
inline constexpr auto yeV = si::yocto<electronvolt>;
Expand All @@ -65,7 +66,6 @@ inline constexpr auto ueV = si::micro<electronvolt>;
inline constexpr auto meV = si::milli<electronvolt>;
inline constexpr auto ceV = si::centi<electronvolt>;
inline constexpr auto deV = si::deci<electronvolt>;
inline constexpr auto eV = electronvolt;
inline constexpr auto daeV = si::deca<electronvolt>;
inline constexpr auto heV = si::hecto<electronvolt>;
inline constexpr auto keV = si::kilo<electronvolt>;
Expand Down
3 changes: 2 additions & 1 deletion test/static/iau_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ import mp_units;
#else
#include <mp-units/math.h>
#include <mp-units/systems/iau/iau.h>
#include <mp-units/systems/si/unit_symbols.h>
#include <mp-units/systems/isq/space_and_time.h>
#include <mp-units/systems/si/si.h>
#endif

/* ************** DERIVED DIMENSIONS THAT INCLUDE UNITS WITH SPECIAL NAMES **************** */
Expand Down

0 comments on commit 3382cb4

Please sign in to comment.