gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] liberty counting, revised


From: Trevor Morris
Subject: Re: [gnugo-devel] liberty counting, revised
Date: Tue, 15 Oct 2002 21:53:01 -0400

>
>+#if 0
>       if ((neighbor_size <= 2 && !ally1)
>-          || (neighbor_size == 1
>+       || (neighbor_size == 1
>               && ally1 
>               && !ally2
>               && COUNTSTONES(ally1) == 1)) {
>+#else
>+      if (neighbor_size == 1
>+         || (neighbor_size == 2 && !ally1)) {
>+#endif

This looks fine to me.  I'd still want to test it very carefully.

However, this entire patch does make me a little uneasy.  Did you leave 
the assertions in place in the patch?  Did you add an assertion for the
revision to fastlib also?

-Trevor






reply via email to

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