Skip to content

Commit d8d1383

Browse files
release 0.20
1 parent 94a666c commit d8d1383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

minic.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ typedef uint64_t u_int64_t;
3131
//#define IMPORTBOOK
3232
#define DEBUG_TOOL
3333

34-
const std::string MinicVersion = "0.19";
34+
const std::string MinicVersion = "0.20";
3535

3636
typedef std::chrono::high_resolution_clock Clock;
3737
typedef char DepthType;
@@ -1939,7 +1939,7 @@ ScoreType adjustHashScore(ScoreType score, DepthType ply){
19391939

19401940
// pvs inspired by Xiphos
19411941
ScoreType ThreadContext::pvs(ScoreType alpha, ScoreType beta, const Position & p, DepthType depth, bool pvnode, unsigned int ply, std::vector<Move> & pv, DepthType & seldepth, const Move skipMove){
1942-
1942+
19431943
if ( stopFlag || std::max(1,(int)std::chrono::duration_cast<std::chrono::milliseconds>(Clock::now() - TimeMan::startTime).count()) > currentMoveMs ){
19441944
stopFlag = true;
19451945
return STOPSCORE;
@@ -1960,7 +1960,7 @@ ScoreType ThreadContext::pvs(ScoreType alpha, ScoreType beta, const Position & p
19601960
float gp = 0;
19611961
if (!rootnode && isDraw(p, pvnode)) return 0;
19621962
if (ply >= MAX_PLY - 1 || depth >= MAX_DEPTH - 1) return eval(p, gp);
1963-
1963+
19641964
TT::Entry e;
19651965
if (skipMove==INVALIDMOVE && TT::getEntry(computeHash(p), depth, e)) { // if not skipmove
19661966
if (e.h != 0 && !rootnode && std::abs(e.score) < MATE - MAX_DEPTH && !pvnode && ( (e.b == TT::B_alpha && e.score <= alpha) || (e.b == TT::B_beta && e.score >= beta) || (e.b == TT::B_exact) ) ) {

0 commit comments

Comments
 (0)