Skip to content

Commit 9b82a1f

Browse files
committed
Fixed angle_for_point implementation so its parameters match the declaration, even though the scl parameter is not used such that its presence is a bug in the paper.
1 parent 201ab33 commit 9b82a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

N3888_RefImpl/src/standalone_functions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ namespace std {
5656
return result;
5757
}
5858

59-
float angle_for_point(point_2d ctr, point_2d pt) noexcept {
59+
float angle_for_point(point_2d ctr, point_2d pt, point_2d) noexcept {
6060
auto xDiff = pt.x - ctr.x;
6161
auto yDiff = -(pt.y - ctr.y);
6262
auto angle = atan2(yDiff, xDiff);

0 commit comments

Comments
 (0)