--- imach/src/imach.c 2022/07/27 14:47:35 1.327 +++ imach/src/imach.c 2022/07/27 17:40:48 1.328 @@ -1,6 +1,9 @@ -/* $Id: imach.c,v 1.327 2022/07/27 14:47:35 brouard Exp $ +/* $Id: imach.c,v 1.328 2022/07/27 17:40:48 brouard Exp $ $State: Exp $ $Log: imach.c,v $ + Revision 1.328 2022/07/27 17:40:48 brouard + Summary: valgrind bug fixed by initializing to zero DummyV as well as Tage + Revision 1.327 2022/07/27 14:47:35 brouard Summary: Still a problem for one-step probabilities in case of quantitative variables @@ -1224,12 +1227,12 @@ typedef struct { #define ODIRSEPARATOR '\\' #endif -/* $Id: imach.c,v 1.327 2022/07/27 14:47:35 brouard Exp $ */ +/* $Id: imach.c,v 1.328 2022/07/27 17:40:48 brouard Exp $ */ /* $State: Exp $ */ #include "version.h" char version[]=__IMACH_VERSION__; char copyright[]="July 2022,INED-EUROREVES-Institut de longevite-Japan Society for the Promotion of Science (Grant-in-Aid for Scientific Research 25293121), Intel Software 2015-2020, Nihon University 2021-202, INED 2000-2022"; -char fullversion[]="$Revision: 1.327 $ $Date: 2022/07/27 14:47:35 $"; +char fullversion[]="$Revision: 1.328 $ $Date: 2022/07/27 17:40:48 $"; char strstart[80]; char optionfilext[10], optionfilefiname[FILENAMELENGTH]; int erreur=0, nberr=0, nbwarn=0; /* Error number, number of errors number of warnings */ @@ -9600,6 +9603,10 @@ int readdata(char datafile[], int firsto DummyV=ivector(1,NCOVMAX); /* 1 to 3 */ FixedV=ivector(1,NCOVMAX); /* 1 to 3 */ + for(v=1;v