fix bounds

This commit is contained in:
jan 2023-04-14 22:27:44 -07:00
parent 24fc97e7f5
commit df4c867e5c

View File

@ -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((