From 3b2b75ba15832ef4b73a70bc8f163fb44eb5b023 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 15 Aug 2013 20:02:16 +0200 Subject: [PATCH] play_random_game(): Don't enforce minimum gamelen (10) This intereferes with extremely long tree branches, triggering an assertion failure wrt. amafmap->gamelen. --- playout.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/playout.c b/playout.c index 048f186..7e8e064 100644 --- a/playout.c +++ b/playout.c @@ -77,8 +77,6 @@ play_random_game(struct playout_setup *setup, assert(setup && policy); int gamelen = setup->gamelen - b->moves; - if (gamelen < 10) - gamelen = 10; if (policy->setboard) policy->setboard(policy, b); -- 2.11.4.GIT