diff --git a/DESCRIPTION b/DESCRIPTION index f1dea6cf..023d39b8 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,8 +1,8 @@ Package: RStoolbox Type: Package Title: Remote Sensing Data Analysis -Version: 1.0.0 -Date: 2024-04-24 +Version: 1.0.1 +Date: 2024-08-26 Authors@R: c( person("Benjamin", "Leutner", role= "aut", email="rstoolboxpackage@gmail.com", comment = c(ORCID = "0000-0002-6893-2002")), person("Ned", "Horning", role ="aut", email="horning@amnh.org"), diff --git a/src/tinyexpr.c b/src/tinyexpr.c index 0ec006a1..3e7ba4fe 100644 --- a/src/tinyexpr.c +++ b/src/tinyexpr.c @@ -42,7 +42,6 @@ For log = natural log uncomment the next line. */ #include #include #include -#include #ifndef NAN #define NAN (0.0/0.0) diff --git a/src/tinyexpr.h b/src/tinyexpr.h index 6d3d4b06..a826c8b1 100644 --- a/src/tinyexpr.h +++ b/src/tinyexpr.h @@ -36,7 +36,10 @@ extern "C" { typedef struct te_expr { int type; union {double value; const double *bound; const void *function;}; +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wpedantic" void *parameters[]; +#pragma GCC diagnostic pop } te_expr; @@ -72,9 +75,6 @@ te_expr *te_compile(const char *expression, const te_variable *variables, int va /* Evaluates the expression. */ double te_eval(const te_expr *n); -/* Prints debugging information on the syntax tree. */ -void te_print(const te_expr *n); - /* Frees the expression. */ /* This is safe to call on NULL pointers. */ void te_free(te_expr *n);