From c89507e95cf52789fd99a5633312d77417b50bc4 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Thu, 26 May 2011 13:03:31 +0200 Subject: [PATCH] board_ownermap_judge_group() -> board_ownermap_judge_groups() --- ownermap.c | 2 +- ownermap.h | 2 +- uct/uct.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ownermap.c b/ownermap.c index 702f47b..c993489 100644 --- a/ownermap.c +++ b/ownermap.c @@ -49,7 +49,7 @@ board_ownermap_judge_point(struct board_ownermap *ownermap, coord_t c, floating_ } void -board_ownermap_judge_group(struct board *b, struct board_ownermap *ownermap, struct group_judgement *judge) +board_ownermap_judge_groups(struct board *b, struct board_ownermap *ownermap, struct group_judgement *judge) { assert(ownermap->map); assert(judge->gs); diff --git a/ownermap.h b/ownermap.h index b12d040..6838b97 100644 --- a/ownermap.h +++ b/ownermap.h @@ -41,7 +41,7 @@ struct group_judgement { GS_UNKNOWN, } *gs; // [bsize2] }; -void board_ownermap_judge_group(struct board *b, struct board_ownermap *ownermap, struct group_judgement *judge); +void board_ownermap_judge_groups(struct board *b, struct board_ownermap *ownermap, struct group_judgement *judge); /* Add groups of given status to mq. */ struct move_queue; diff --git a/uct/uct.c b/uct/uct.c index 6316d65..0bc785a 100644 --- a/uct/uct.c +++ b/uct/uct.c @@ -99,7 +99,7 @@ dead_group_list(struct uct *u, struct board *b, struct move_queue *mq) struct group_judgement gj; gj.thres = GJ_THRES; gj.gs = alloca(board_size2(b) * sizeof(gj.gs[0])); - board_ownermap_judge_group(b, &u->ownermap, &gj); + board_ownermap_judge_groups(b, &u->ownermap, &gj); groups_of_status(b, &gj, GS_DEAD, mq); } -- 2.11.4.GIT