From: N. Brouard Date: Mon, 14 Jun 2010 07:50:17 +0000 (+0000) Subject: After the theft of my laptop, I probably lost some lines of codes which were not... X-Git-Tag: imach-099s7~453 X-Git-Url: https://henry.ined.fr/git/?a=commitdiff_plain;h=b2a93c08a75abd8d0676b6810857ab59a64a1d46;p=.git After the theft of my laptop, I probably lost some lines of codes which were not uploaded to the CVS tree. I remember having already fixed agemin agemax which are pointers now but not cvs saved. --- diff --git a/src/imach.c b/src/imach.c index 7961340..ee7e96a 100644 --- a/src/imach.c +++ b/src/imach.c @@ -1,6 +1,9 @@ /* $Id$ $State$ $Log$ + Revision 1.138 2010/04/30 18:19:40 brouard + *** empty log message *** + Revision 1.137 2010/04/29 18:11:38 brouard (Module): Checking covariates for more complex models than V1+V2. A lot of change to be done. Unstable. @@ -4894,7 +4897,7 @@ calandcheckages(int imx, int maxwav, double *agemin, double *agemax, int *nberr, } else if(agev[m][i] >*agemax){ *agemax=agev[m][i]; - /* printf(" anint[%d][%d]=%.0f annais[%d]=%.0f, agemax=%.0f\n",m,i,anint[m][i], i,annais[i], agemax);*/ + printf(" Max anint[%d][%d]=%.0f annais[%d]=%.0f, agemax=%.2f\n",m,i,anint[m][i], i,annais[i], *agemax); } /*agev[m][i]=anint[m][i]-annais[i];*/ /* agev[m][i] = age[i]+2*m;*/ @@ -4928,8 +4931,8 @@ calandcheckages(int imx, int maxwav, double *agemin, double *agemax, int *nberr, }*/ - printf("Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, agemin, agemax); - fprintf(ficlog,"Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, agemin, agemax); + printf("Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, *agemin, *agemax); + fprintf(ficlog,"Total number of individuals= %d, Agemin = %.2f, Agemax= %.2f\n\n", imx, *agemin, *agemax); return (0); endread: