/* $Id$
$State$
$Log$
+ Revision 1.302 2020/02/22 21:00:05 brouard
+ * (Module): imach.c Update mle=-3 (for computing Life expectancy
+ and life table from the data without any state)
+
Revision 1.301 2019/06/04 13:51:20 brouard
Summary: Error in 'r'parameter file backcast yearsbproj instead of yearsfproj
fprintf(ficres,"result: %s\n",resultline);
fprintf(ficlog,"result: %s\n",resultline);
break;
- case 14:
- if(ncovmodel >2 && nresult==0 ){
+ case 14:
+ 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);
- 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;
default:
nresult=1;