I am having a problem with my output for the followig function:
When I try to printf the value for lower[count1], it returns 1.#INF00000 values for each loop iteration.Code:
void degree_membership(int index[cluster_num], int count1)
lower[count1] = 0.0;
for(i = 0; i < ROW; i++)
upper_euc[count1][i]= 1 / euc_total[count1][i];
lower[count1] = lower[count1] + upper_euc[count1][i];
printf("Lower: %lf\n", lower[count1]);
Why this happen? Can anyone help me with this prob?
Thanks in advance.