Fix cut-and-paste error

This commit is contained in:
Simon Cozens 2024-09-25 11:56:20 +01:00 committed by Behdad Esfahbod
parent ff78d5a161
commit ae96a6d374

View File

@ -55,10 +55,10 @@ def test_contour_order(glyph0, glyph1):
m1GreenReversed = [(-m[0],) + m[1:] for m in m1Green] m1GreenReversed = [(-m[0],) + m[1:] for m in m1Green]
( (
matching_control_reversed, matching_control_reversed,
matching_cost_control_reversed, matching_cost_green_reversed,
identity_cost_control_reversed, identity_cost_green_reversed,
) = matching_for_vectors(m0Control, m1ControlReversed) ) = matching_for_vectors(m0Green, m1GreenReversed)
done = matching_cost_control_reversed == identity_cost_control_reversed done = matching_cost_green_reversed == identity_cost_green_reversed
if not done: if not done:
# Otherwise, use the worst of the two matchings. # Otherwise, use the worst of the two matchings.