fix bounds

This commit is contained in:
jan 2023-04-14 22:27:44 -07:00
parent 6c489366cc
commit 3f5a4599fc

View File

@ -336,8 +336,8 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
if mask.any(): if mask.any():
cbounds = numpy.vstack(( cbounds = numpy.vstack((
numpy.min(ebounds[mask, 0, :]), numpy.min(ebounds[mask, 0, :], axis=0),
numpy.max(ebounds[mask, 1, :]), numpy.max(ebounds[mask, 1, :], axis=0),
)) ))
else: else:
cbounds = numpy.array(( cbounds = numpy.array((