aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/2019/day10/aoc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/2019/day10/aoc.cpp b/src/2019/day10/aoc.cpp
index 2104343..177ee61 100644
--- a/src/2019/day10/aoc.cpp
+++ b/src/2019/day10/aoc.cpp
@@ -12,7 +12,7 @@ struct posd {
};
float angle(int x, int y) {
- auto a = std::atan2(y, x);
+ auto a = atan2(y, x);
auto r = a * 180 / M_PI;
if (r > 360) {
r -= 360;