Change assert to NOT IMPLEMENTED

This commit is contained in:
Shahram Najm 2016-02-24 10:47:58 +00:00
parent ed386c61cb
commit 40d63c7e74
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ static int decode_replication(grib_context* c,grib_accessor_bufr_data_array* sel
width=grib_decode_unsigned_long(data,pos,6);
if (width) {
/* delayed replication number is not constant. NOT IMPLEMENTED */
Assert(0);
return GRIB_NOT_IMPLEMENTED;
} else {
*numberOfRepetitions=localReference*descriptors[i]->factor;
grib_context_log(c, GRIB_LOG_DEBUG,"BUFR data decoding: \tdelayed replication value=%ld",*numberOfRepetitions);