wrong func name

This commit is contained in:
jan 2023-04-12 21:42:56 -07:00
parent c94127280e
commit 8d47ff9fb4

View File

@ -368,7 +368,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
mirr_x, rot2 = normalize_mirror(ref.mirrored) mirr_x, rot2 = normalize_mirror(ref.mirrored)
if mirr_x: if mirr_x:
ubounds[:, 1] *= -1 ubounds[:, 1] *= -1
bounds = numpy.round(rotation_matrix(ref.rotation + rot2)) @ ubounds bounds = numpy.round(rotation_matrix_2d(ref.rotation + rot2)) @ ubounds
# note: rounding fixes up # note: rounding fixes up
else: else: