mirror of https://github.com/ecmwf/eccodes.git
Fix compare function
This commit is contained in:
parent
77d358a4d0
commit
6bdef3a4c6
|
@ -129,7 +129,7 @@ int grib_accessor_class_long_t::compare(grib_accessor* a, grib_accessor* b)
|
|||
return err;
|
||||
alen = count;
|
||||
|
||||
err = a->value_count(&count);
|
||||
err = b->value_count(&count);
|
||||
if (err)
|
||||
return err;
|
||||
blen = count;
|
||||
|
|
Loading…
Reference in New Issue