]> git.sesse.net Git - stockfish/commitdiff
Fix a typo
authorDariusz Orzechowski <dariusz.orzechowski@gmail.com>
Tue, 4 Jun 2013 21:52:00 +0000 (23:52 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 8 Jun 2013 09:01:28 +0000 (11:01 +0200)
No functional change.

src/search.cpp

index 7ff9aaa466902ae5b851ea2c225a853d8416c576..1d81fd045d447312ad85302a4addacca087e4707 100644 (file)
@@ -1539,7 +1539,7 @@ split_point_start: // At split points actual search starts from here
   string uci_pv(const Position& pos, int depth, Value alpha, Value beta) {
 
     std::stringstream s;
-    Time::point elaspsed = Time::now() - SearchTime + 1;
+    Time::point elapsed = Time::now() - SearchTime + 1;
     size_t uciPVSize = std::min((size_t)Options["MultiPV"], RootMoves.size());
     int selDepth = 0;
 
@@ -1564,8 +1564,8 @@ split_point_start: // At split points actual search starts from here
           << " seldepth "  << selDepth
           << " score "     << (i == PVIdx ? score_to_uci(v, alpha, beta) : score_to_uci(v))
           << " nodes "     << pos.nodes_searched()
-          << " nps "       << pos.nodes_searched() * 1000 / elaspsed
-          << " time "      << elaspsed
+          << " nps "       << pos.nodes_searched() * 1000 / elapsed
+          << " time "      << elapsed
           << " multipv "   << i + 1
           << " pv";