From 976ca0a2da72d9f4e94f1eb8fcda312553ca73ff Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 12 Apr 2023 21:41:18 -0700 Subject: [PATCH] missing parens --- masque/pattern.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/masque/pattern.py b/masque/pattern.py index 63bd833..8bea904 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -355,7 +355,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable): if target in cache: unrot_bounds = cache[target] - elif any(numpy.isclose(ref.rotation % pi / 2, 0) for ref in refs): + elif any(numpy.isclose(ref.rotation % (pi / 2), 0) for ref in refs): unrot_bounds = library[target].get_bounds(library=library, recurse=recurse, cache=cache) cache[target] = unrot_bounds