wrong func name

This commit is contained in:
jan 2023-04-12 21:42:56 -07:00
parent e3c7150e18
commit bbc61a2fcd

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: