From 9aded93dcaeb5f768ce63829c75557177a688d9c Mon Sep 17 00:00:00 2001 From: Zyro9922 Date: Wed, 26 Aug 2020 20:07:15 +0530 Subject: [PATCH] Removed ambigous reference to bu --- .../coordinate/conversion/conversion_graph.hpp | 1 - test/conversion/conversion_graph.cpp | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/include/boost/astronomy/coordinate/conversion/conversion_graph.hpp b/include/boost/astronomy/coordinate/conversion/conversion_graph.hpp index 3de94f8e..437f5032 100644 --- a/include/boost/astronomy/coordinate/conversion/conversion_graph.hpp +++ b/include/boost/astronomy/coordinate/conversion/conversion_graph.hpp @@ -27,7 +27,6 @@ file License.txt or copy at https://www.boost.org/LICENSE_1_0.txt) namespace bu = boost::units; namespace bg = boost::geometry; -namespace bud = boost::units::degree; namespace bac = boost::astronomy::coordinate; using namespace boost::units; diff --git a/test/conversion/conversion_graph.cpp b/test/conversion/conversion_graph.cpp index cb9e9907..f18d4288 100644 --- a/test/conversion/conversion_graph.cpp +++ b/test/conversion/conversion_graph.cpp @@ -37,9 +37,9 @@ BOOST_AUTO_TEST_CASE(ecliptic_to_horizon) { ecliptic_coord, quantity> ec(97.638119 * bud::degrees, -17.857969 * bud::degrees); - bu::quantity phi = 52.175 * bud::degree; - bu::quantity st = 77.337 * bud::degree; - bu::quantity obliquity = 23.446 * bud::degree; + quantity phi = 52.175 * bud::degree; + quantity st = 77.337 * bud::degree; + quantity obliquity = 23.446 * bud::degree; matrix ans = convert("Ecliptic","Horizon",phi,st,obliquity,ec); @@ -55,9 +55,9 @@ BOOST_AUTO_TEST_CASE(horizon_to_ecliptic) { horizon_coord, quantity> hc(153.491944 * bud::degrees, 40.399444 * bud::degrees); - bu::quantity phi = 52.175 * bud::degree; - bu::quantity st = 77.337 * bud::degree; - bu::quantity obliquity = 23.446 * bud::degree; + quantity phi = 52.175 * bud::degree; + quantity st = 77.337 * bud::degree; + quantity obliquity = 23.446 * bud::degree; matrix ans = convert("Horizon","Ecliptic",phi,st,obliquity,hc);