From: N. Brouard Date: Tue, 24 Jun 2003 12:30:52 +0000 (+0000) Subject: (Module): Some bugs corrected for windows. Also, when X-Git-Tag: imach-099s7~615 X-Git-Url: https://henry.ined.fr/git/?a=commitdiff_plain;h=ed27c485ccb9db56d856336cfab83f23b3dcfdd7;p=.git (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. --- diff --git a/src/imach.c b/src/imach.c index 8fd3120..daf9023 100644 --- a/src/imach.c +++ b/src/imach.c @@ -1,6 +1,9 @@ /* $Id$ $State$ $Log$ + 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. + Revision 1.87 2003/06/18 12:26:01 brouard Version 0.96 @@ -317,10 +320,10 @@ static int split( char *path, char *dirc, char *name, char *ext, char *finame ) /******************************************/ -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++) { @@ -2624,7 +2627,7 @@ void varevsij(char optionfilefiname[], double ***vareij, double **matcov, double /* 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); @@ -3076,7 +3079,7 @@ fprintf(fichtm," \n