Skip to content

Commit

Permalink
extra brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
robitalec committed Nov 26, 2024
1 parent 51fb9c1 commit 69c5e45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/internal.R
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ diff_rad <- function(x, y, signed = FALSE) {

d <- y - x
pi_rad <- units::as_units(pi, 'rad')
d <- (d + pi_rad) %% (2 * pi_rad) - pi_rad
d <- ((d + pi_rad) %% (2 * pi_rad)) - pi_rad

if (signed) {
return(d)
Expand Down

0 comments on commit 69c5e45

Please sign in to comment.