X-Git-Url: https://git.auder.net/?p=valse.git;a=blobdiff_plain;f=src%2Fsources%2Fselectiontotale.c;h=04ec0a4bce2a1b5b8316c9dd049d3b7ea93ab95d;hp=d3e2dc4289cfa196b0a1d2234e91667c0e25fc18;hb=aa8df014ec50b2569f03eb81de720355c77633ea;hpb=09ab3c164abb566764e86a175b5973241e708fd6 diff --git a/src/sources/selectiontotale.c b/src/sources/selectiontotale.c index d3e2dc4..04ec0a4 100644 --- a/src/sources/selectiontotale.c +++ b/src/sources/selectiontotale.c @@ -1,5 +1,6 @@ #include #include +#include #include "EMGLLF.h" #include "utils.h" @@ -55,7 +56,7 @@ void selectiontotale_core( double* pi = (double*)malloc(k*sizeof(double)); double* LLF = (double*)malloc(maxi*sizeof(double)); double* S = (double*)malloc(p*m*k*sizeof(double)); - EMGLLF(phiInit,rhoInit,piInit,gamInit,mini,maxi,gamma,glambda[lambdaIndex],X,Y,tau, + EMGLLF_core(phiInit,rhoInit,piInit,gamInit,mini,maxi,gamma,glambda[lambdaIndex],X,Y,tau, phi,rho,pi,LLF,S, n,p,m,k); free(LLF);