Diff for /imach/src/imach.c between versions 1.302 and 1.303

version 1.302, 2020/02/22 21:00:05 version 1.303, 2021/02/11 19:50:15
Line 1 Line 1
 /* $Id$  /* $Id$
   $State$    $State$
   $Log$    $Log$
     Revision 1.303  2021/02/11 19:50:15  brouard
     *  (Module): imach.c Someone entered 'results:' instead of 'result:'. Now it is an error which is printed.
   
   Revision 1.302  2020/02/22 21:00:05  brouard    Revision 1.302  2020/02/22 21:00:05  brouard
   *  (Module): imach.c Update mle=-3 (for computing Life expectancy    *  (Module): imach.c Update mle=-3 (for computing Life expectancy
   and life table from the data without any state)    and life table from the data without any state)
Line 12494  Please run with mle=-1 to get a correct Line 12497  Please run with mle=-1 to get a correct
           fprintf(ficres,"result: %s\n",resultline);            fprintf(ficres,"result: %s\n",resultline);
           fprintf(ficlog,"result: %s\n",resultline);            fprintf(ficlog,"result: %s\n",resultline);
           break;            break;
         case 14:           case 14:
           if(ncovmodel >2 && nresult==0 ){            printf("Error: Unknown command '%s'\n",line);
             fprintf(ficlog,"Error: Unknown command '%s'\n",line);
             if(ncovmodel >=2 && nresult==0 ){
             printf("ERROR: no result lines! It should be at minimum 'result: V2=0 V1=1 or result:.' %s\n",line);              printf("ERROR: no result lines! It should be at minimum 'result: V2=0 V1=1 or result:.' %s\n",line);
             goto end;              fprintf(ficlog,"ERROR: no result lines! It should be at minimum 'result: V2=0 V1=1 or result:.' %s\n",line);
           }            }
             goto end;
           break;            break;
         default:          default:
           nresult=1;            nresult=1;

Removed from v.1.302  
changed lines
  Added in v.1.303


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>