Simplify reduction formula #2122
authorMoez Jellouli <37274752+MJZ1977@users.noreply.github.com>
Wed, 15 May 2019 08:26:32 +0000 (10:26 +0200)
committerMarco Costalba <mcostalba@users.noreply.github.com>
Wed, 15 May 2019 08:26:32 +0000 (10:26 +0200)
Simplify reduction formula

No functional change.

src/search.cpp

index e57131eb7bf0330eba5ab434c24fdbe36344d538..0e9674a05cc6bad59c7f4089edf8ac3f73301dab 100644 (file)
@@ -149,7 +149,7 @@ namespace {
 void Search::init() {
 
   for (int i = 1; i < MAX_MOVES; ++i)
-      Reductions[i] = int(1024 * std::log(i) / std::sqrt(1.95));
+     Reductions[i] = int(733.3 * std::log(i));
 }