Skip to content

Commit

Permalink
fix Ticket #107
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/fuego/code/trunk@2036 2e953b5c-c64d-0410-be54-f773e93e544c
  • Loading branch information
mmueller65 committed Jan 19, 2019
1 parent 4a4bf7f commit 0bf51c6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions go/GoEyeUtil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,9 @@ GoEyeStatus BulkyFiveNakade(const GoBoard& bd,
// check if both empty points adjacent to block. if yes, nakade.
// if no, alive.
{
SG_ASSERT((points & bd.AllEmpty()).IsSize(2));
for (SgSetIterator it(points & bd.AllEmpty()); it; ++it)
SgPointSet emptyPoints = points & bd.AllEmpty();
SG_ASSERT(emptyPoints.IsSize(2));
for (SgSetIterator it(emptyPoints); it; ++it)
{
if (bd.NumNeighbors(*it, stoneColor) == 0)
{
Expand Down

0 comments on commit 0bf51c6

Please sign in to comment.