diff --git a/Dist b/Dist index 9ebce22b..84bcd49c 160000 --- a/Dist +++ b/Dist @@ -1 +1 @@ -Subproject commit 9ebce22b1b66d04cdc8999ddf1861d02614f3fec +Subproject commit 84bcd49c5952e7c3da9525fd296c88a49073dd4a diff --git a/Source/definition.hpp b/Source/definition.hpp index 868ba29e..fb7f062c 100644 --- a/Source/definition.hpp +++ b/Source/definition.hpp @@ -38,7 +38,7 @@ typedef uint64_t u_int64_t; #include #endif -const std::string MinicVersion = "dev"; +const std::string MinicVersion = "2.25"; // *** options #define WITH_UCI diff --git a/Source/skill.hpp b/Source/skill.hpp index e7f2e053..edbb4349 100644 --- a/Source/skill.hpp +++ b/Source/skill.hpp @@ -7,7 +7,7 @@ // from Stockfish implementation namespace Skill { inline bool enabled() { return DynamicConfig::level > 0 && DynamicConfig::level < 100; } // 0 is random mover ! - inline DepthType limitedDepth() { return DepthType(1 + 2 * std::sqrt(std::max(0u,DynamicConfig::level-20))); } + inline DepthType limitedDepth() { return DepthType(1 + 2 * std::sqrt(std::max(0,int(DynamicConfig::level-20)))); } Move pick(std::vector & multiPVMoves); static inline unsigned int Elo2Level(){ return std::max(0,(DynamicConfig::strength - 500))/29;} } \ No newline at end of file