Define OnePly as a Depth enum costant
[stockfish] / src / search.cpp
index 978f6622d3f142a178cf2c92a59ea07bdb9d76bd..3d26d430387e85faffa25d275d33b485978ee3b0 100644 (file)
@@ -1897,7 +1897,7 @@ namespace {
         && pos.type_of_piece_on(move_to(m)) != PAWN
         && pos.see_sign(m) >= 0)
     {
-        result += OnePly/2;
+        result += OnePly / 2;
         *dangerous = true;
     }