From 064c3803ed3dcaaf9347f2a3cf76f1a211ade6e0 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Fri, 2 Jun 2023 21:15:05 -0700 Subject: [PATCH] fix comment --- masque/utils/transform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/utils/transform.py b/masque/utils/transform.py index fb84052..c50a21c 100644 --- a/masque/utils/transform.py +++ b/masque/utils/transform.py @@ -23,7 +23,7 @@ def rotation_matrix_2d(theta: float) -> NDArray[numpy.float64]: arr = numpy.array([[numpy.cos(theta), -numpy.sin(theta)], [numpy.sin(theta), +numpy.cos(theta)]]) - % If this was a manhattan rotation, round to remove some inacuraccies in sin & cos + # If this was a manhattan rotation, round to remove some inacuraccies in sin & cos if numpy.isclose(theta % (pi / 2), 0): arr = numpy.round(arr)