Improve some comments

- clarify the examples for the bench command
- typo  in search.cpp

closes https://github.com/official-stockfish/Stockfish/pull/4710

No functional change
This commit is contained in:
Stéphane Nicolet
2023-07-28 23:38:37 +02:00
parent cb22520a9c
commit f84eb1f3ef
3 changed files with 12 additions and 13 deletions
+2 -2
View File
@@ -745,8 +745,8 @@ namespace {
}
// Set up the improving flag, which is true if current static evaluation is
// bigger than the previous static evaluation at our turn (if we were in
// check at our previous move we look at static evaluaion at move prior to it
// bigger than the previous static evaluation at our turn (if we were in
// check at our previous move we look at static evaluation at move prior to it
// and if we were in check at move prior to it flag is set to true) and is
// false otherwise. The improving flag is used in various pruning heuristics.
improving = (ss-2)->staticEval != VALUE_NONE ? ss->staticEval > (ss-2)->staticEval