From 45d5845e07301e182e88745e30c666343d3bdf54 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)