formatting

This commit is contained in:
Sven Neumann 2005-07-14 16:26:26 +00:00
parent 2566531777
commit 74bb5d998b
1 changed files with 3 additions and 1 deletions

View File

@ -531,6 +531,7 @@ create_signature (lab *input,
centroids[i].a = centroid.a / (curelem->arraylength * 1.0);
centroids[i].b = centroid.b / (curelem->arraylength * 1.0);
centroids[i].cardinality = curelem->arraylength;
i++;
curelem = curelem->next;
}
@ -539,7 +540,8 @@ create_signature (lab *input,
clusters2 = g_new0 (ArrayList, 1);
stagetwo (centroids, SIOX_DIMS, 0, clusters2, limits, clusters1size, length, 0.1);
stagetwo (centroids,
SIOX_DIMS, 0, clusters2, limits, clusters1size, length, 0.1);
/* see paper by tomasi */
rval = list_to_array (clusters2, returnlength);