gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gnugo-devel] set_depth_values() patch


From: Gunnar Farneback
Subject: Re: [gnugo-devel] set_depth_values() patch
Date: Sun, 22 Sep 2002 18:08:05 +0200
User-agent: EMH/1.14.1 SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.3 Emacs/20.7 (sparc-sun-solaris2.7) (with unibyte mode)

Arend wrote:
> I am not sure whether I succeeded in simplifying this function, but at
> least this helped me understand what it is doing...
> 
> This patch doesn't change its behaviour (yet). [...]
>
> --- engine/value_moves.c      16 Sep 2002 07:27:49 -0000      1.53
> +++ engine/value_moves.c      18 Sep 2002 20:57:00 -0000
> @@ -1741,7 +1741,7 @@
>     */
>    this_value = 0.0;
> 
> -  if (move[pos].move_safety == 1 && safe_move(pos, color) == WIN)
> +  if (move[pos].move_safety == 1 && safe_move(pos, color))
>      saved_stones[pos] = INFLUENCE_SAVED_STONE;
>    else
>      saved_stones[pos] = INFLUENCE_CAPTURED_STONE;
 
This change is not quite innocent.

/Gunnar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]