From 3f5a4599fce60959c18e822869e8fcdee7661f82 Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 14 Apr 2023 22:27:44 -0700 Subject: [PATCH] fix bounds --- masque/pattern.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/masque/pattern.py b/masque/pattern.py index 4be3e3f..a465acf 100644 --- a/masque/pattern.py +++ b/masque/pattern.py @@ -336,8 +336,8 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable): if mask.any(): cbounds = numpy.vstack(( - numpy.min(ebounds[mask, 0, :]), - numpy.max(ebounds[mask, 1, :]), + numpy.min(ebounds[mask, 0, :], axis=0), + numpy.max(ebounds[mask, 1, :], axis=0), )) else: cbounds = numpy.array((