fix bounds
This commit is contained in:
parent
24fc97e7f5
commit
df4c867e5c
@ -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