From c947cc92ee9f3188a645acfdf7917208dc847c43 Mon Sep 17 00:00:00 2001 From: Uwe Fechner Date: Fri, 20 Sep 2024 11:36:26 +0200 Subject: [PATCH] cleanup --- src/utils.jl | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index bdb7c74a..8b9fe676 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -37,16 +37,6 @@ macro limit(name, min, max=nothing) return esc( :($name = clamp($name, $min, $max)) ) end -""" - wrap2pi(angle) - -Convert an angle in an infinite range to the range from -pi to pi -""" -function wrap2pi(angle) - num2pi = floor(angle / 2π + 0.5) - angle - 2π * num2pi -end - """ merge_angles(alpha, beta, factor_beta)