gnugo-devel
[Top][All Lists]
Advanced

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

[gnugo-devel] Patch suggest


From: 易野
Subject: [gnugo-devel] Patch suggest
Date: Fri, 22 Sep 2006 16:02:23 +0800

reading.c line 2556
 
add a assert here:
 
gg_assert(approxlib(potential_move, other, 1, libs2) == 1);
 
load the attached SGF and playwhite may break the assertion.
 
---------------------------
 
add a ko checking may avoid:
 
if (potential_move == NO_MOVE || is_ko(potential_move, other, NULL) /* ko checking */
 || !is_self_atari(potential_move, other))
      continue;
 
gg_assert(approxlib(potential_move, other, 1, libs2) == 1);
-----------------------
Zhong
 

Attachment: 2006
Description: Binary data


reply via email to

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