From 9cad26e6e72b66c27b691bf1271d29b7387233ab Mon Sep 17 00:00:00 2001 From: MasaoFujii Date: Tue, 11 Oct 2016 14:54:54 +0900 Subject: [PATCH] Various minor corrections of comments. This commit is inspired by the change of pg_trgm: 2d8a1e2. --- bigm_gin.c | 2 +- bigm_op.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bigm_gin.c b/bigm_gin.c index 987d166..c4853ce 100644 --- a/bigm_gin.c +++ b/bigm_gin.c @@ -264,7 +264,7 @@ gin_bigm_consistent(PG_FUNCTION_ARGS) * And again, c (ntrue) is a lower bound of len2, but c <= len1 * just by definition and, consequently, upper bound of * similarity is just c / len1. - * So, independly on DIVUNION the upper bound formula is the same. + * So, independently on DIVUNION the upper bound formula is the same. */ res = (nkeys == 0) ? false : ((((((float4) ntrue) / ((float4) nkeys))) >= diff --git a/bigm_op.c b/bigm_op.c index 8bf7bb2..0b5c989 100644 --- a/bigm_op.c +++ b/bigm_op.c @@ -317,7 +317,7 @@ generate_bigm(char *str, int slen) } /* - * Extract the next non-wildcard part of a search string, ie, a word bounded + * Extract the next non-wildcard part of a search string, i.e. a word bounded * by '_' or '%' meta-characters, non-word characters or string end. * * str: source string, of length lenstr bytes (need not be null-terminated) -- 2.11.0