Skip to content

Commit

Permalink
Removed ambigous reference to bu
Browse files Browse the repository at this point in the history
  • Loading branch information
Zyro9922 committed Aug 26, 2020
1 parent d4ca482 commit 9aded93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
12 changes: 6 additions & 6 deletions test/conversion/conversion_graph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ BOOST_AUTO_TEST_CASE(ecliptic_to_horizon) {
ecliptic_coord<double, quantity<bud::plane_angle>, quantity<bud::plane_angle>>
ec(97.638119 * bud::degrees, -17.857969 * bud::degrees);

bu::quantity<bud::plane_angle, double> phi = 52.175 * bud::degree;
bu::quantity<bud::plane_angle, double> st = 77.337 * bud::degree;
bu::quantity<bud::plane_angle, double> obliquity = 23.446 * bud::degree;
quantity<bud::plane_angle, double> phi = 52.175 * bud::degree;
quantity<bud::plane_angle, double> st = 77.337 * bud::degree;
quantity<bud::plane_angle, double> obliquity = 23.446 * bud::degree;

matrix<double> ans = convert("Ecliptic","Horizon",phi,st,obliquity,ec);

Expand All @@ -55,9 +55,9 @@ BOOST_AUTO_TEST_CASE(horizon_to_ecliptic) {
horizon_coord<double, quantity<bud::plane_angle>, quantity<bud::plane_angle>>
hc(153.491944 * bud::degrees, 40.399444 * bud::degrees);

bu::quantity<bud::plane_angle, double> phi = 52.175 * bud::degree;
bu::quantity<bud::plane_angle, double> st = 77.337 * bud::degree;
bu::quantity<bud::plane_angle, double> obliquity = 23.446 * bud::degree;
quantity<bud::plane_angle, double> phi = 52.175 * bud::degree;
quantity<bud::plane_angle, double> st = 77.337 * bud::degree;
quantity<bud::plane_angle, double> obliquity = 23.446 * bud::degree;

matrix<double> ans = convert("Horizon","Ecliptic",phi,st,obliquity,hc);

Expand Down

0 comments on commit 9aded93

Please sign in to comment.