]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Reformat some comments
[stockfish] / src / uci.cpp
index 1d8f5bdc05c4878d9786961ba6a0d497cd231006..95f6f349dd3cf4675407ac7ebb54efd32df4464b 100644 (file)
@@ -82,8 +82,8 @@ void position(Position& pos, std::istringstream& is, StateListPtr& states) {
     }
 }
 
-// Prints the evaluation of the current position, consistent with
-// the UCI options set so far.
+// Prints the evaluation of the current position,
+// consistent with the UCI options set so far.
 void trace_eval(Position& pos) {
 
     StateListPtr states(new std::deque<StateInfo>(1));
@@ -122,9 +122,8 @@ void setoption(std::istringstream& is) {
 }
 
 
-// Called when the engine receives the "go" UCI command. The function
-// sets the thinking time and other parameters from the input string, then starts
-// with a search.
+// Called when the engine receives the "go" UCI command. The function sets the
+// thinking time and other parameters from the input string then stars with a search
 
 void go(Position& pos, std::istringstream& is, StateListPtr& states) {
 
@@ -178,8 +177,9 @@ void bench(Position& pos, std::istream& args, StateListPtr& states) {
     uint64_t    num, nodes = 0, cnt = 1;
 
     std::vector<std::string> list = setup_bench(pos, args);
-    num                           = count_if(list.begin(), list.end(),
-                                             [](const std::string& s) { return s.find("go ") == 0 || s.find("eval") == 0; });
+
+    num = count_if(list.begin(), list.end(),
+                   [](const std::string& s) { return s.find("go ") == 0 || s.find("eval") == 0; });
 
     TimePoint elapsed = now();