fix bounds
This commit is contained in:
parent
6c489366cc
commit
3f5a4599fc
@ -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((
|
||||||
|
Loading…
Reference in New Issue
Block a user