'update'
authorBenjamin Auder <benjamin.auder@somewhere>
Tue, 15 Nov 2016 11:54:00 +0000 (12:54 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Tue, 15 Nov 2016 11:54:00 +0000 (12:54 +0100)
code/stage1/src/Algorithm/pam.c
code/stage1/src/Algorithm/pam.h

index 7cde367..ecd72c3 100644 (file)
@@ -107,7 +107,7 @@ void pam(Real* dissimilarities, uint32_t nbItems, uint32_t nbClusters, int clust
                }
                else
                        // No information: complete random sampling
-                       sample(ctrs, nbItems, nbClusters);      
+                       sample(ctrs, nbItems, nbClusters);
                for (uint32_t j = 0; j < nbClusters; j++)
                        oldCtrs[j] = 0;
                uint32_t kounter = 0;
index 106919f..14274c8 100644 (file)
@@ -7,7 +7,7 @@
 #define MAXITER 100
 
 // Core PAM algorithm from a 'flat' dissimilarity matrix
-void pam(Real* dissimilarities, uint32_t nbItems, uint32_t nbClusters, 
+void pam(Real* dissimilarities, uint32_t nbItems, uint32_t nbClusters,
        int clustOnMedoids, uint32_t nbStart, uint32_t maxNbIter, Result_t* result);
 
 #endif