From: Regina Obe Date: Thu, 28 Dec 2017 04:12:31 +0000 (+0000) Subject: Fix some typos X-Git-Tag: 2.5.0alpha~252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0c8db2fbe6279c656962fcfa97aee665266c0a8;p=postgis Fix some typos git-svn-id: http://svn.osgeo.org/postgis/trunk@16191 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/liblwgeom/kmeans.c b/liblwgeom/kmeans.c index 97e2c3ef1..a42d30ae9 100644 --- a/liblwgeom/kmeans.c +++ b/liblwgeom/kmeans.c @@ -117,7 +117,7 @@ static void update_r_threaded(kmeans_config *config) { /* * Each thread gets a copy of the config, but with the list pointers - * offest to the start of the batch the thread is responsible for, and the + * offset to the start of the batch the thread is responsible for, and the * object count number adjusted similarly. */ memcpy(&(thread_config[i]), config, sizeof(kmeans_config)); diff --git a/liblwgeom/kmeans.h b/liblwgeom/kmeans.h index ec0b1e1c7..dd162be13 100644 --- a/liblwgeom/kmeans.h +++ b/liblwgeom/kmeans.h @@ -99,7 +99,7 @@ typedef struct kmeans_config /* Number of objects in the preceding array */ size_t num_objs; - /* An array of inital centers for the algorithm */ + /* An array of initial centers for the algorithm */ /* Can be randomly assigned, or using proportions, */ /* unfortunately the algorithm is sensitive to starting */ /* points, so using a "better" set of starting points */