From 40d63c7e74911eea49e5e1a0ab03495127cd60a3 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Wed, 24 Feb 2016 10:47:58 +0000 Subject: [PATCH] Change assert to NOT IMPLEMENTED --- src/grib_accessor_class_bufr_data_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grib_accessor_class_bufr_data_array.c b/src/grib_accessor_class_bufr_data_array.c index 0fd2efed3..5439e7c77 100644 --- a/src/grib_accessor_class_bufr_data_array.c +++ b/src/grib_accessor_class_bufr_data_array.c @@ -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);