Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an off-by-one bug in multi pv print
We send to GUI multi-pv info after each cycle, not just once at the end of the PV loop. This is because at high depths a single root search can be very slow and we want to update the gui as soon as we have a new PV score. Idea is good but implementation is broken because sort() takes as arguments a pointer to the first element and one past the last element. So fix the bug and rename sort arguments to better reflect their meaning. Another hit by Hongzhi Cheng. Impressive! No functional change.
- Loading branch information