/* $Id$
$State$
$Log$
+ Revision 1.164 2014/12/16 10:52:11 brouard
+ Summary: Merging with Visual C after suppressing some warnings for unused variables. Also fixing Saito's bug 0.98Xn
+
+ * imach.c (Module): Merging 1.61 to 1.162
+
Revision 1.163 2014/12/16 10:30:11 brouard
* imach.c (Module): Merging 1.61 to 1.162
end
*/
+#define POWELL /* Instead of NLOPT */
-
-
#include <math.h>
#include <stdio.h>
#include <stdlib.h>
void mlikeli(FILE *ficres,double p[], int npar, int ncovmodel, int nlstate, double ftol, double (*func)(double []))
{
- int i,j, iter;
+ int i,j, iter=0;
double **xi;
double fret;
double fretone; /* Only one call to likelihood */
double agedeb;
double ageminpar=1.e20,agemin=1.e20, agemaxpar=-1.e20, agemax=-1.e20;
-
+ double fret;
double dum; /* Dummy variable */
double ***p3mat;
double ***mobaverage;