Commits

Anonymous committed 6a5da5b

decrement intsead of assignment

Comments (0)

Files changed (1)

stand_alone/2_solve.c

 
 				if (cpco_prune[cp_tmp][co_tmp] < distance) {
 					print_move(face * 3 + i);
-					distance = cpco_prune[cp_tmp][co_tmp];
+					distance--;
 					cp_coord = cp_tmp;
 					co_coord = co_tmp;
 					i = face = 3;