fix arrays reading in C, add type Real for double or float
[valse.git] / src / sources / EMGLLF.h
index c75b89d..8f375ff 100644 (file)
@@ -1,16 +1,16 @@
-#ifndef select_EMGLLF_H
-#define select_EMGLLF_H
+#ifndef valse_EMGLLF_H
+#define valse_EMGLLF_H
 
-#include "ioutils.h"
+#include "utils.h"
 
-void EMGLLF(
+void EMGLLF_core(
        // IN parameters
        const Real* phiInit,
        const Real* rhoInit,
        const Real* piInit,
        const Real* gamInit,
-       Int mini,
-       Int maxi,
+       int mini,
+       int maxi,
        Real gamma,
        Real lambda,
        const Real* X,
@@ -23,9 +23,9 @@ void EMGLLF(
        Real* LLF,
        Real* S,
        // additional size parameters
-       mwSize n, 
-       mwSize p, 
-       mwSize m, 
-       mwSize k);
+       int n,
+       int p,
+       int m,
+       int k);
 
 #endif