mirror of https://github.com/ecmwf/eccodes.git
Merge branch 'feature/CCSDS_constant_fields' into develop
This commit is contained in:
commit
6fad5161a8
|
@ -401,6 +401,9 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
|
|||
|
||||
if ((err = grib_set_long_internal(hand, self->number_of_values, n_vals)) != GRIB_SUCCESS)
|
||||
return err;
|
||||
bits_per_value = 0;
|
||||
if ((err = grib_set_long_internal(hand, self->bits_per_value, bits_per_value)) != GRIB_SUCCESS)
|
||||
return err;
|
||||
|
||||
grib_buffer_replace(a, NULL, 0, 1, 1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue