typo emgllf
authorBenjamin Goehry <benjamin.goehry@math.u-psud.fr>
Mon, 9 Jan 2017 10:06:46 +0000 (11:06 +0100)
committerBenjamin Goehry <benjamin.goehry@math.u-psud.fr>
Mon, 9 Jan 2017 10:06:46 +0000 (11:06 +0100)
R/gridLambda.R
R/initSmallEM.R

index 2c66e4c..855b4a6 100644 (file)
@@ -16,7 +16,7 @@ gridLambda = function(phiInit, rhoInit, piInit, gamInit, X, Y, gamma, mini, maxi
        m = dim(phiInit)[2]
        k = dim(phiInit)[3]
 
-       list_EMG = .Call("EMGLLF",phiInit,rhoInit,piInit,gamInit,mini,maxi,1,0,X,Y,tau)
+       list_EMG = .Call("EMGLLF_core",phiInit,rhoInit,piInit,gamInit,mini,maxi,1,0,X,Y,tau)
 
        grid = array(0, dim=c(p,m,k))
        for (i in 1:p)
index 3f98e07..7a35bc3 100644 (file)
@@ -58,7 +58,7 @@ initSmallEM = function(k,X,Y,tau)
                miniInit = 10
                maxiInit = 11
                
-               new_EMG = .Call("EMGLLF",phiInit1[,,,repet],rhoInit1[,,,repet],piInit1[repet,],
+               new_EMG = .Call("EMGLLF_core",phiInit1[,,,repet],rhoInit1[,,,repet],piInit1[repet,],
                                                                                gamInit1[,,repet],miniInit,maxiInit,1,0,X,Y,tau)
                LLFEessai = new_EMG$LLF
                LLFinit1[repet] = LLFEessai[length(LLFEessai)]