diff --git a/src/core/include/units/magnitude.h b/src/core/include/units/magnitude.h index 6443cfbe..4ce8f137 100644 --- a/src/core/include/units/magnitude.h +++ b/src/core/include/units/magnitude.h @@ -26,7 +26,7 @@ #include #include -namespace units::mag { +namespace units { /** * @brief Any type which can be used as a basis vector in a BasePower. @@ -339,8 +339,7 @@ constexpr Magnitude auto as_magnitude() { / detail::prime_factorization_v; } -namespace detail -{ +namespace detail { // Default implementation. template requires (N > 0) @@ -358,4 +357,4 @@ template<> struct prime_factorization<1> { static constexpr magnitude<> value{}; }; } // namespace detail -} // namespace units::mag +} // namespace units diff --git a/test/unit_test/runtime/magnitude_test.cpp b/test/unit_test/runtime/magnitude_test.cpp index 536f8fed..df1afee7 100644 --- a/test/unit_test/runtime/magnitude_test.cpp +++ b/test/unit_test/runtime/magnitude_test.cpp @@ -25,8 +25,7 @@ #include #include -namespace units::mag -{ +namespace units { // A set of non-standard bases for testing purposes. struct noninteger_base { static constexpr long double value = 1.234L; }; @@ -216,8 +215,7 @@ TEST_CASE("Can raise Magnitudes to rational powers") } } -namespace detail -{ +namespace detail { TEST_CASE("Prime helper functions") { @@ -375,4 +373,4 @@ TEST_CASE("strictly_increasing") } // namespace detail -} // namespace units::mag +} // namespace units