Skip to content

Commit

Permalink
ECC-1573: GRIB spectral_simple: Assertion failed: 'ref == *val'
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramn committed Jun 17, 2023
1 parent 8398fd8 commit c325f69
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/grib_accessor_class_data_g2shsimple_packing.cc
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,6 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)

if ((err = grib_set_double_internal(grib_handle_of_accessor(a), self->real_part, *val)) != GRIB_SUCCESS)
return err;
{
/* Make sure we can decode it again */
double ref = 1e-100;
grib_get_double_internal(grib_handle_of_accessor(a), self->real_part, &ref);
Assert(ref == *val);
}

val++;

Expand Down

0 comments on commit c325f69

Please sign in to comment.