Cosmetics

This commit is contained in:
shahramn 2024-04-29 16:51:26 +01:00
parent 9fa22f73c7
commit b250b23246
2 changed files with 2 additions and 2 deletions

View File

@ -214,7 +214,7 @@ static int unpack_long(grib_accessor* a, long* val, size_t* len)
template <typename T>
static int unpack(grib_accessor* a, T* val, size_t* len)
{
static_assert(std::is_floating_point<T>::value, "Requires floating points numbers");
static_assert(std::is_floating_point<T>::value, "Requires floating point numbers");
long pos = a->offset * 8;
long tlen;
grib_handle* hand = grib_handle_of_accessor(a);

View File

@ -509,7 +509,7 @@ static int post_process(grib_context* c, long* vals, long len, long order, long
template <typename T>
static int unpack(grib_accessor* a, T* val, const size_t* len)
{
static_assert(std::is_floating_point<T>::value, "Requires floating points numbers");
static_assert(std::is_floating_point<T>::value, "Requires floating point numbers");
grib_accessor_data_g22order_packing* self = reinterpret_cast<grib_accessor_data_g22order_packing*>(a);
const char* cclass_name = a->cclass->name;
grib_handle* gh = grib_handle_of_accessor(a);