Skip to content

Commit

Permalink
atan2
Browse files Browse the repository at this point in the history
  • Loading branch information
cvarni committed Oct 4, 2024
1 parent aafb97d commit 1bb0b49
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#include <ranges>
#include <vector>

#include <math.h>

namespace Acts::Test {

struct SpacePoint {
Expand Down Expand Up @@ -170,7 +168,7 @@ BOOST_AUTO_TEST_CASE(spacepoint_container_edm_functionalities) {
float refCovR = 2.5f * n;
float refCovZ = 3.f * n;
float refRadius = std::hypot(refX, refY);
float refPhi = atan2f(refY, refX);
float refPhi = std::atan2(refY, refX);

BOOST_CHECK_EQUAL(proxy.index(), n);
BOOST_CHECK_EQUAL(proxy.x(), refX);
Expand Down

0 comments on commit 1bb0b49

Please sign in to comment.