Skip to content

Commit

Permalink
Merge remote-tracking branch 'official-stockfish/master' into ddugovic
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Nov 29, 2018
2 parents 386e281 + 9b276a6 commit 16adcdb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# List of authors for Multi-Variant Stockfish, updated just after version 9
# List of authors for Multi-Variant Stockfish, updated for version 10

Tord Romstad (romstad)
Marco Costalba (mcostalba)
Expand All @@ -8,7 +8,7 @@ Daniel Dugovic (ddugovic)
Fabian Fichter (ianfab)
Niklas Fiekas (niklasf)

absimaldata
Aditya (absimaldata)
Ajith Chandy Jose (ajithcj)
Alain Savard (Rocky640)
Alexander Kure
Expand Down Expand Up @@ -56,10 +56,12 @@ Hongzhi Cheng
Ivan Ivec (IIvec)
Jacques B. (Timshel)
Jan Ondruš (hxim)
Jared Kish (Kurtbusch)
Jarrod Torriero (DU-jdto)
Jean-Francois Romang (jromang)
Jerry Donald Watson (jerrydonaldwatson)
Jonathan Calovski (Mysseno)
Jonathan D. (SFisGOD)
Joost VandeVondele (vondele)
Jörg Oster (joergoster)
Joseph Ellis (jhellis3)
Expand All @@ -71,7 +73,7 @@ Ken Takusagawa
kinderchocolate
Kiran Panditrao (Krgp)
Kojirion
Leonardo Ljubičić (GM)
Leonardo Ljubičić (ICCF World Champion)
Leonid Pechenik (lp--)
Linus Arver
loco-loco
Expand Down Expand Up @@ -111,6 +113,7 @@ Ron Britvich (Britvich)
Ronald de Man (syzygy1)
Ryan Schmitt
Ryan Takker
Sebastian Buchwald (UniQP)
Sergei Antonov (saproj)
sf-x
shane31
Expand Down
2 changes: 1 addition & 1 deletion src/syzygy/tbprobe.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2096,7 +2096,7 @@ void Tablebases::init(Variant variant, const std::string& paths) {
continue; // First on diagonal, second above

else if (!off_A1H8(s1) && !off_A1H8(s2))
bothOnDiagonal.push_back(std::make_pair(idx, s2));
bothOnDiagonal.emplace_back(idx, s2);

else
MapKK[idx][s2] = code++;
Expand Down
4 changes: 2 additions & 2 deletions src/tt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ void TranspositionTable::clear() {

for (size_t idx = 0; idx < Options["Threads"]; idx++)
{
threads.push_back(std::thread([this, idx]() {
threads.emplace_back([this, idx]() {

// Thread binding gives faster search on systems with a first-touch policy
if (Options["Threads"] > 8)
Expand All @@ -97,7 +97,7 @@ void TranspositionTable::clear() {
stride : clusterCount - start;

std::memset(&table[start], 0, len * sizeof(Cluster));
}));
});
}

for (std::thread& th: threads)
Expand Down

0 comments on commit 16adcdb

Please sign in to comment.