diff --git a/CHANGES.rst b/CHANGES.rst index c69e4cf..6894a35 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,3 +1,7 @@ +v0.3.2 +====== +- git-archive generated zip now pip-installable + v0.3.1 ====== - Introduced ``finitediff::generate_weights_optim`` which is a pre-sorting diff --git a/finitediff/external/newton_interval/tests/unittest.c b/finitediff/external/newton_interval/tests/unittest.c index f090f73..6957172 100644 --- a/finitediff/external/newton_interval/tests/unittest.c +++ b/finitediff/external/newton_interval/tests/unittest.c @@ -11,10 +11,10 @@ int run_tests(int ntests, const TestCase** test_cases, char * suite_name){ printf("In %s, %s%c%s passed %c%s\n", suite_name, cur_test.name, 0x1B, "[32;1m", 0x1B, "[30;0m"); - } + } else{ exit_status = 1; - printf("In %s, %s%c%s failed %c%s with result %d\n", suite_name, + printf("In %s, %s%c%s failed %c%s with result %d\n", suite_name, cur_test.name, 0x1B, "[31;1m", 0x1B, "[30;0m", result); } diff --git a/finitediff/include/c_finitediff_fort.h b/finitediff/include/c_finitediff_fort.h index d6cd7c9..be4f284 100644 --- a/finitediff/include/c_finitediff_fort.h +++ b/finitediff/include/c_finitediff_fort.h @@ -5,10 +5,10 @@ extern "C" { #endif -void fornberg_apply_fd(int nin, int maxorder, const double * const xdata, +void fornberg_apply_fd(int nin, int maxorder, const double * const xdata, const double * const ydata, double xtgt, double * const out); -void fornberg_populate_weights(double z, const double * const x, int nd, +void fornberg_populate_weights(double z, const double * const x, int nd, int m, double * const c); #ifdef __cplusplus