gnugo-devel
[Top][All Lists]
Advanced

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

Re: [gnugo-devel] Patch: life.c 1-dimensional


From: Teun Burgers
Subject: Re: [gnugo-devel] Patch: life.c 1-dimensional
Date: Fri, 19 Oct 2001 22:33:44 +0200

Inge Wallin wrote:

> Here is a patch that makes all of life.c 1-dimensional.

I noticed the following piece:

+      if ((   i > 0           && proper_eye[ii-NS])
+         || (i < board_size-1 && proper_eye[ii+NS])
+         || (j > 0            && proper_eye[ii-1])
+         || (j < board_size-1 && proper_eye[ii+1])) {

Why not use the NORTH, SOUTH etc macros?

Teun



reply via email to

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