1
0
Fork 0

Not that it should matter but change the thresholds a bit to be consistant

with what I do in other portions of the code.
This commit is contained in:
curt 2003-03-13 20:26:56 +00:00
parent d70cd72fbd
commit 727e512fad

View file

@ -146,9 +146,9 @@ TGArray::parse( SGBucket& b ) {
last_elev = -32768; last_elev = -32768;
have_void = false; have_void = false;
for ( int j = 0; j < rows; j++ ) { for ( int j = 0; j < rows; j++ ) {
if ( in_data[i][j] > -9999 ) { if ( in_data[i][j] > -9000 ) {
last_elev = in_data[i][j]; last_elev = in_data[i][j];
} else if ( last_elev > -9999 ) { } else if ( last_elev > -9000 ) {
in_data[i][j] = last_elev; in_data[i][j] = last_elev;
} else { } else {
have_void = true; have_void = true;
@ -158,9 +158,9 @@ TGArray::parse( SGBucket& b ) {
last_elev = -32768; last_elev = -32768;
have_void = false; have_void = false;
for ( int j = rows - 1; j >= 0; j-- ) { for ( int j = rows - 1; j >= 0; j-- ) {
if ( in_data[i][j] > -9999 ) { if ( in_data[i][j] > -9000 ) {
last_elev = in_data[i][j]; last_elev = in_data[i][j];
} else if ( last_elev > -9999 ) { } else if ( last_elev > -9000 ) {
in_data[i][j] = last_elev; in_data[i][j] = last_elev;
} else { } else {
have_void = true; have_void = true;