muodov / kociemba

A pure Python and pure C ports of Kociemba's algorithm for solving Rubik's cube
GNU General Public License v2.0
566 stars 126 forks source link

Fix boolean operator in move initialization #2

Closed ansiwen closed 8 years ago

ansiwen commented 8 years ago

Fixing this little mistake increases the solutions per time by factor two. :-)

muodov commented 8 years ago

Wow, that was a silly mistake :) thanks for noticing! Seems like C version doesn't have this error, and generally it is recommended to use that one. I'm going to push a proper python wrapper so that C implementation can be used directly from Python.

ansiwen commented 8 years ago

Yeah, a python library implemented in C would be really nice...

muodov commented 8 years ago

Here it is, enjoy ;)