]> henry.ined.fr Git - .git/commitdiff
Just a new version
authorNBrouard <brouard@ined.fr>
Tue, 27 Aug 2024 13:46:27 +0000 (15:46 +0200)
committerNBrouard <brouard@ined.fr>
Tue, 27 Aug 2024 13:46:27 +0000 (15:46 +0200)
src/imach.c

index 59801460a10934ef49b7c76e22c67eba779e7666..cb93ae33934196311b29d54adc650c6feb8faa11 100644 (file)
@@ -8007,7 +8007,7 @@ void  concatwav(int wav[], int **dh, int **bh,  int **mw, int **s, double *agedc
   for(i=1; i<=imx; i++){
     for(mi=1; mi<wav[i];mi++){
       if (stepm <=0)
-       dh[mi][i]=1;
+       dh[mi][i]=1; /* be careful dh starts at 1 to lastpass-firstpass */
       else{
        if (s[mw[mi+1][i]][i] > nlstate) { /* A death, but what if date is unknown? */
          if (agedc[i] < 2*AGESUP) {