mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 12:07:43 +00:00
committed by
Stéphane Nicolet
parent
8152a74ab4
commit
fcee0ce6a3
+1
-7
@@ -341,7 +341,7 @@ void Thread::search() {
|
|||||||
bestValue = delta = alpha = -VALUE_INFINITE;
|
bestValue = delta = alpha = -VALUE_INFINITE;
|
||||||
beta = VALUE_INFINITE;
|
beta = VALUE_INFINITE;
|
||||||
|
|
||||||
multiPV = Options["MultiPV"];
|
size_t multiPV = Options["MultiPV"];
|
||||||
|
|
||||||
// Pick integer skill levels, but non-deterministically round up or down
|
// Pick integer skill levels, but non-deterministically round up or down
|
||||||
// such that the average integer skill corresponds to the input floating point one.
|
// such that the average integer skill corresponds to the input floating point one.
|
||||||
@@ -934,12 +934,6 @@ moves_loop: // When in check, search starts from here
|
|||||||
sync_cout << "info depth " << depth / ONE_PLY
|
sync_cout << "info depth " << depth / ONE_PLY
|
||||||
<< " currmove " << UCI::move(move, pos.is_chess960())
|
<< " currmove " << UCI::move(move, pos.is_chess960())
|
||||||
<< " currmovenumber " << moveCount + thisThread->pvIdx << sync_endl;
|
<< " currmovenumber " << moveCount + thisThread->pvIdx << sync_endl;
|
||||||
|
|
||||||
// In MultiPV mode also skip moves which will be searched later as PV moves
|
|
||||||
if (rootNode && std::count(thisThread->rootMoves.begin() + thisThread->pvIdx + 1,
|
|
||||||
thisThread->rootMoves.begin() + thisThread->multiPV, move))
|
|
||||||
continue;
|
|
||||||
|
|
||||||
if (PvNode)
|
if (PvNode)
|
||||||
(ss+1)->pv = nullptr;
|
(ss+1)->pv = nullptr;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -59,7 +59,7 @@ public:
|
|||||||
|
|
||||||
Pawns::Table pawnsTable;
|
Pawns::Table pawnsTable;
|
||||||
Material::Table materialTable;
|
Material::Table materialTable;
|
||||||
size_t pvIdx, multiPV, pvLast, shuffleExts;
|
size_t pvIdx, pvLast, shuffleExts;
|
||||||
int selDepth, nmpMinPly;
|
int selDepth, nmpMinPly;
|
||||||
Color nmpColor;
|
Color nmpColor;
|
||||||
std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;
|
std::atomic<uint64_t> nodes, tbHits, bestMoveChanges;
|
||||||
|
|||||||
Reference in New Issue
Block a user