--- imach/src/imach.c 2003/06/23 17:54:56 1.88 +++ imach/src/imach.c 2003/06/24 12:30:52 1.89 @@ -1,6 +1,11 @@ -/* $Id: imach.c,v 1.88 2003/06/23 17:54:56 brouard Exp $ +/* $Id: imach.c,v 1.89 2003/06/24 12:30:52 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.89 2003/06/24 12:30:52 brouard + (Module): Some bugs corrected for windows. Also, when + mle=-1 a template is output in file "or"mypar.txt with the design + of the covariance matrix to be input. + Revision 1.88 2003/06/23 17:54:56 brouard * imach.c (Repository): Create a sub-directory where all the secondary files are. Only imach, htm, gp and r(imach) are on the main directory. Correct time and other things. @@ -164,11 +169,11 @@ #define ODIRSEPARATOR '/' #endif -/* $Id: imach.c,v 1.88 2003/06/23 17:54:56 brouard Exp $ */ +/* $Id: imach.c,v 1.89 2003/06/24 12:30:52 brouard Exp $ */ /* $State: Exp $ */ char version[]="Imach version 0.96a, June 2003, INED-EUROREVES "; -char fullversion[]="$Revision: 1.88 $ $Date: 2003/06/23 17:54:56 $"; +char fullversion[]="$Revision: 1.89 $ $Date: 2003/06/24 12:30:52 $"; int erreur; /* Error number */ int nvar; int cptcovn=0, cptcovage=0, cptcoveff=0,cptcov; @@ -320,10 +325,10 @@ static int split( char *path, char *dirc /******************************************/ -void replace(char *s, char*t) +void replace_back_to_slash(char *s, char*t) { int i; - int lg=20; + int lg=0; i=0; lg=strlen(t); for(i=0; i<= lg; i++) { @@ -2627,7 +2632,7 @@ void varevsij(char optionfilefiname[], d /* fprintf(fichtm,"\n
Probability is computed over estepm=%d months and then divided by estepm and multiplied by %.0f in order to have the probability to die over a year

\n", stepm,YEARM,digitp,digit); */ /* fprintf(ficgp,"\nset out \"varmuptjgr%s%s%s.png\";replot;",digitp,optionfilefiname,digit); */ - fprintf(ficgp,"\nset out \"%s%s.png\";replot;",digitp,subdirf3(optionfilefiname,"varmuptjgr",digitp),digit); + fprintf(ficgp,"\nset out \"%s%s.png\";replot;\n",subdirf3(optionfilefiname,"varmuptjgr",digitp),digit); free_vector(xp,1,npar); free_matrix(doldm,1,nlstate,1,nlstate); @@ -3079,7 +3084,7 @@ fprintf(fichtm," \n