From 36db2377dbb624bb2535e4264b583e6ab934ca38 Mon Sep 17 00:00:00 2001 From: Jean-loup Gailly Date: Sun, 15 Jan 2012 10:29:00 +0100 Subject: [PATCH] Revert "is_bad_selfatari(): There are no self-atari when playing a ko threat" This reverts commit 1e5a12dc7421f1b6cd68d1f6b32c1abfeb3b188e. It was a 45 elo drop on high end hardware. --- tactics/selfatari.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/tactics/selfatari.h b/tactics/selfatari.h index ca74d15..087cfd6 100644 --- a/tactics/selfatari.h +++ b/tactics/selfatari.h @@ -26,9 +26,6 @@ bool is_bad_selfatari_slow(struct board *b, enum stone color, coord_t to); static inline bool is_bad_selfatari(struct board *b, enum stone color, coord_t to) { - /* Ko threats fear no self atari! */ - if (board_playing_ko_threat(b)) - return false; /* More than one immediate liberty, thumbs up! */ if (immediate_liberty_count(b, to) > 1) return false; -- 2.11.4.GIT