Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/ecc 1467 grib power single precision #134

Merged
merged 17 commits into from
Jun 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix broken build
  • Loading branch information
shahramn committed Jun 22, 2023
commit f224e51136eef5a175e52573ad6fe32b28cb1c25
2 changes: 2 additions & 0 deletions src/grib_bits_any_endian.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
#include <stdint.h>
#endif

#include "grib_scaling.h"

#if GRIB_PTHREADS
static pthread_once_t once = PTHREAD_ONCE_INIT;
static pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;
Expand Down
2 changes: 1 addition & 1 deletion src/grib_scaling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
// Unfortunately, metkit uses grib_power() (illegal usage of private API)
// As soon as it is fixed, the wrapper below can be deleted
double grib_power(long s, long n) {
codes_power<double>(s, n);
return codes_power<double>(s, n);
}

long grib_get_binary_scale_fact(double max, double min, long bpval, int* ret)
Expand Down
Loading