fix asymmetry cost for fingers — thanks to oodario
2 files changed, 2 insertions(+), 2 deletions(-)

M layout_cost.py
M ngrams.py
M layout_cost.py +1 -1
@@ 164,7 164,7 @@ def asymmetry_cost(layout=NEO_LAYOUT, sy
                         hand_dists.append(-1)
                     # switch the fingers to the left hand so movements
                     # between similar keys are mirrored
-                    fing1 = KEY_TO_FINGER[pos1[:2] + (0, )][:-2] + "_L"
+                    fing1 = KEY_TO_FINGER[pos0[:2] + (0, )][:-2] + "_L"
                     fing2 = KEY_TO_FINGER[pos1[:2] + (0, )][:-2] + "_L"
                     if fing1 is not None and fing2 is not None:
                         fingidx1 = FINGER_NAMES.index(fing1)

          
M ngrams.py +1 -1
@@ 151,7 151,7 @@ def split_uppercase_repeats(reps, layout
               mod3R-mod3L, mod3R-mod4L, mod4R-mod3L, mod4R-mod4L,
               0.5*(mod3R-mod4R, mod4R-mod3R, mod3L-mod4L, mod4L-mod3L)
 
-        Ψ∃: 
+        Ψ∃:
 
             # Modifiers from different keys
             '⇩⇙', M3L + M4R