Fix DEBUG_ASSERT_ACCESS statement

This commit is contained in:
shahramn 2024-11-05 22:20:46 +00:00
parent bf220681f4
commit 2b0efc1129
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ int Reduced::find_global(grib_handle* h,
if (lon > 180 && lon < 360)
lon -= 360;
}
DEBUG_ASSERT_ACCESS(lons_, (long)ilon, (long)nearest->values_count);
DEBUG_ASSERT_ACCESS(lons_, (long)ilon, (long)values_count_);
lons_[ilon++] = lon;
}
lats_count_ = ilat;