mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 14:27:45 +00:00
Fix a crash of syzygy on Android
On Android-ARM current TB code crashes at random times even in single thread mode. Reported, debugged, fixed and verified by Peter Osterlund. No functional change. Resolves #201
This commit is contained in:
committed by
Joona Kiiski
parent
17bcdb9212
commit
b97df4c236
@@ -370,7 +370,7 @@ void Tablebases::init(const std::string& path)
|
|||||||
printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
|
printf("info string Found %d tablebases.\n", TBnum_piece + TBnum_pawn);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char offdiag[] = {
|
static const signed char offdiag[] = {
|
||||||
0,-1,-1,-1,-1,-1,-1,-1,
|
0,-1,-1,-1,-1,-1,-1,-1,
|
||||||
1, 0,-1,-1,-1,-1,-1,-1,
|
1, 0,-1,-1,-1,-1,-1,-1,
|
||||||
1, 1, 0,-1,-1,-1,-1,-1,
|
1, 1, 0,-1,-1,-1,-1,-1,
|
||||||
|
|||||||
Reference in New Issue
Block a user