fixed bugs
This commit is contained in:
parent
9f9530a065
commit
5006efe082
|
@ -26,6 +26,7 @@ gboolean kmeans(struct data_frame *df)
|
||||||
{
|
{
|
||||||
if (headk == NULL)
|
if (headk == NULL)
|
||||||
{
|
{
|
||||||
|
headk = (struct kmeans1 *)malloc(sizeof(struct kmeans1));
|
||||||
headk->A = 50;
|
headk->A = 50;
|
||||||
headk->B = 49;
|
headk->B = 49;
|
||||||
headk->C = 51;
|
headk->C = 51;
|
||||||
|
|
Loading…
Reference in New Issue