fix arrays reading in C, add type Real for double or float
[valse.git] / src / test / test.EMGLLF.c
index 8f6b2b1..db38f14 100644 (file)
@@ -1,7 +1,9 @@
 #include "EMGLLF.h"
-#include "utils.h"
+#include "test_utils.h"
 #include <stdlib.h>
 
+#include <stdio.h>
+
 int main(int argc, char** argv)
 {
        int* dimensions = readArray_int("dimensions");
@@ -40,7 +42,6 @@ int main(int argc, char** argv)
        ////////////////////
        // Call to EMGLLF //
        ////////////////////
-
        EMGLLF_core(phiInit,rhoInit,piInit,gamInit,mini,maxi,gamma,lambda,X,Y,tau,
                phi,rho,pi,LLF,S,
                n,p,m,k);