--- MITgcm/verification/testreport 2003/12/07 07:06:13 1.32 +++ MITgcm/verification/testreport 2003/12/18 15:12:34 1.33 @@ -1,6 +1,6 @@ #! /usr/bin/env bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.32 2003/12/07 07:06:13 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/testreport,v 1.33 2003/12/18 15:12:34 adcroft Exp $ # $Name: $ # @@ -437,10 +437,11 @@ #include #include int main( int argc, char** argv ) { - int linnum,best; + int linnum,best,lncnt; double a,b,diff; best = -16; - while( 1 ) { + lncnt = 0; + while( 1 & (lncnt+=1) < 999 ) { scanf("%d", &linnum); if (linnum == -1) break; scanf("%lf", &a); scanf("%lf", &b); @@ -456,6 +457,7 @@ } } } + if (lncnt == 999) best=-29; printf("%d\n", -best); return 0; }