]> granicus.if.org Git - postgis/commitdiff
Fix some typos
authorRegina Obe <lr@pcorp.us>
Thu, 28 Dec 2017 04:12:31 +0000 (04:12 +0000)
committerRegina Obe <lr@pcorp.us>
Thu, 28 Dec 2017 04:12:31 +0000 (04:12 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16191 b70326c6-7e19-0410-871a-916f4a2858ee

liblwgeom/kmeans.c
liblwgeom/kmeans.h

index 97e2c3ef1f07bea19932240d5da006d913397240..a42d30ae961f58ae96fd968ab551aa48feb985a0 100644 (file)
@@ -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));
index ec0b1e1c7bb2e4c0c754597ddcc65ba57393ac46..dd162be13c475dca72178777368a54214b743c7b 100644 (file)
@@ -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 */