]> git.sesse.net Git - stockfish/commit
Codestyle massage Search::init()
authorlucasart <lucas.braesch@gmail.com>
Sat, 8 Nov 2014 15:56:51 +0000 (10:56 -0500)
committerGary Linscott <glinscott@gmail.com>
Sat, 8 Nov 2014 15:56:51 +0000 (10:56 -0500)
commit8631b08d9704dac256462f6b5b885a4d8b0a9165
treec0c81a6841fe5a671ca99c8a43b41b181f910c73
parent3d2aab11d89493311e0908a9ee1a8288b9ff9b42
Codestyle massage Search::init()

* remove some erroneous comments, that were based on the ONE_PLY == 2.
* rename hd to d, because there's no more half-depth in SF.
* rescope variables into the for loops.
* reindent the for loops correctly.
* add a comment to explain the eval improving part (not so obvious to read
this code as array has 4 dimensions).

No functional change.
src/search.cpp