[postgis-tickets] r16191 - Fix some typos

Regina Obe lr at pcorp.us
Wed Dec 27 08:12:32 PST 2017


Author: robe
Date: 2017-12-27 20:12:31 -0800 (Wed, 27 Dec 2017)
New Revision: 16191

Modified:
   trunk/liblwgeom/kmeans.c
   trunk/liblwgeom/kmeans.h
Log:
Fix some typos

Modified: trunk/liblwgeom/kmeans.c
===================================================================
--- trunk/liblwgeom/kmeans.c	2017-12-27 18:37:48 UTC (rev 16190)
+++ trunk/liblwgeom/kmeans.c	2017-12-28 04:12:31 UTC (rev 16191)
@@ -117,7 +117,7 @@
 		{
 			/*
 			* 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));

Modified: trunk/liblwgeom/kmeans.h
===================================================================
--- trunk/liblwgeom/kmeans.h	2017-12-27 18:37:48 UTC (rev 16190)
+++ trunk/liblwgeom/kmeans.h	2017-12-28 04:12:31 UTC (rev 16191)
@@ -99,7 +99,7 @@
 	/* 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 */



More information about the postgis-tickets mailing list