billforsternz / thc-chess-library

General Purpose Rules of Chess Library for C++
MIT License
38 stars 13 forks source link

Fix bug in Transform function #4

Closed vagrawal closed 4 years ago

vagrawal commented 4 years ago

There is a simple coding bug in the function to transform the position between black and white. Let me know if I should make changes in the combined files like thc-regen.cpp.

billforsternz commented 4 years ago

Good catch, thanks. (I am pleased to note that the Tarrasch Chess GUI doesn't use this function which is presumably why I've never noticed this bug before).