Reverted non-essential local changes.

Replaced a tab with spaces.
This commit is contained in:
Shinji Suzuki 2020-11-14 21:02:09 +09:00
parent 66130f1fd4
commit b5eb81689b
3 changed files with 5 additions and 6 deletions

View File

@ -420,7 +420,7 @@ int grib_encode_size_tb(unsigned char* p, size_t val, long* bitp, long nb)
#if OMP_PACKING #if OMP_PACKING
#include "grib_bits_any_endian_omp.c" #include "grib_bits_any_endian_omp.c"
#elif VECTOR #elif VECTOR
#include "grib_bits_any_endian_vector.c" /* Experimental */ #include "grib_bits_any_endian_vector.c"
#else #else
#include "grib_bits_any_endian_simple.c" #include "grib_bits_any_endian_simple.c"
#endif #endif

View File

@ -53,6 +53,7 @@ int grib_decode_long_array(const unsigned char* p, long* bitp, long bitsPerValue
return 0; return 0;
} }
int grib_decode_double_array(const unsigned char* p, long* bitp, long bitsPerValue, int grib_decode_double_array(const unsigned char* p, long* bitp, long bitsPerValue,
double reference_value, double s, double d, double reference_value, double s, double d,
size_t n_vals, double* val) size_t n_vals, double* val)
@ -94,14 +95,12 @@ int grib_decode_double_array(const unsigned char* p, long* bitp, long bitsPerVal
return 0; return 0;
} }
int grib_decode_double_array_complex(const unsigned char* p, long* bitp, long nbits, double reference_value, int grib_decode_double_array_complex(const unsigned char* p, long* bitp, long nbits, double reference_value, double s, double* d, size_t size, double* val)
double s, double* d, size_t size, double* val)
{ {
return GRIB_NOT_IMPLEMENTED; return GRIB_NOT_IMPLEMENTED;
} }
int grib_encode_double_array(size_t n_vals, const double* val, long bits_per_value, double reference_value, int grib_encode_double_array(size_t n_vals, const double* val, long bits_per_value, double reference_value, double d, double divisor, unsigned char* p, long* off)
double d, double divisor, unsigned char* p, long* off)
{ {
size_t i = 0; size_t i = 0;
unsigned long unsigned_val = 0; unsigned long unsigned_val = 0;

View File

@ -1612,7 +1612,7 @@ void grib_multi_support_reset(grib_context* c)
while (gm) { while (gm) {
gm_next = gm->next; gm_next = gm->next;
grib_multi_support_clear(c, gm); grib_multi_support_clear(c, gm);
grib_context_free(c, gm); grib_context_free(c, gm);
gm = gm_next; gm = gm_next;
} }
c->multi_support = NULL; c->multi_support = NULL;