{
/*
* 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));
/* 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 */