diff --git a/tests/grib_util_set_spec2.cc b/tests/grib_util_set_spec2.cc index 5a0b69264..b032fcc1c 100644 --- a/tests/grib_util_set_spec2.cc +++ b/tests/grib_util_set_spec2.cc @@ -84,6 +84,9 @@ static grib_handle* test2() packing_spec.extra_settings[0].name = "tablesVersion"; packing_spec.extra_settings[0].long_value = 32; + packing_spec.packing_type = GRIB_UTIL_PACKING_TYPE_GRID_SECOND_ORDER; + packing_spec.packing = GRIB_UTIL_PACKING_USE_PROVIDED; + grib_handle* finalh = grib_util_set_spec( handle, &spec, &packing_spec, set_spec_flags, values, outlen, &err);