Commits

Shlomi Fish committed 1d29330

Removed a redundant variable.

  • Participants
  • Parent commits 6e3258c

Comments (0)

Files changed (1)

kakurasu-solver/kakurasu-solver.py

                 ret.upper_bounds_vector.append(1)
                 ret.xint_vector.append(len(ret.f_vector))
 
-        eq = 0
         y = 0
         for h_eq in range(0,num_known_horiz_constraints):
             while (horiz_constraints[y] == '?'):
             ret.b_vector.append(horiz_constraints[y])
             y += 1
             ret.e_vector.append(0)
-            eq += 1
         x = 0
         for v_eq in range(0,num_known_vert_constraints):
             while (vert_constraints[x] == '?'):
             ret.b_vector.append(vert_constraints[x])
             x += 1
             ret.e_vector.append(0)
-            eq += 1
 
         return ret