search for: affecteindiv

Displaying 1 result from an estimated 1 matches for "affecteindiv".

2014 Mar 19
1
Memcheck: Invalid read of size 4
...rs * *nbTime * sizeof(double)); for(i = 0; i < *nbClusters * *nbTime; i++){trajMean[i] = 0.0;}; for(i = 0; i < *nbInd; i++){clusterAffectation2[i] = 0;}; for(iter = 0; iter < *maxIt; iter+=2){ calculMean(traj,nbInd,nbTime,clusterAffectation1,nbClusters,trajMean); affecteIndiv(traj,nbInd,nbTime,trajMean,nbClusters,clusterAffectation2); i = 0; while(clusterAffectation1[i]==clusterAffectation2[i] && i <*nbInd){i++;}; // lines 183 if(i == *nbInd){ *convergenceTime = iter + 1; break; }else{}; calculMean(traj,nbInd,nbTime,clusterAffectation2,nbClus...