diff options
author | Michael Figurnov <mfigurnov@google.com> | 2018-06-07 17:57:56 +0100 |
---|---|---|
committer | Michael Figurnov <mfigurnov@google.com> | 2018-06-07 17:57:56 +0100 |
commit | 30fa3d045440fe8345bccc34bad5a329abfaf5c3 (patch) | |
tree | ff48744f4d154f86656365772b09939a7d57ef1a /unsupported/test/special_functions.cpp | |
parent | 5172a32849a310d8942273da307309721dc37c3f (diff) | |
parent | d2b0a4a59b42c085511b089cc11e11be763334da (diff) |
Merge from eigen/eigen
Diffstat (limited to 'unsupported/test/special_functions.cpp')
-rw-r--r-- | unsupported/test/special_functions.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/unsupported/test/special_functions.cpp b/unsupported/test/special_functions.cpp index 29ba6203a..802e16150 100644 --- a/unsupported/test/special_functions.cpp +++ b/unsupported/test/special_functions.cpp @@ -335,6 +335,7 @@ template<typename ArrayType> void array_special_functions() ArrayType test = betainc(a, b + one, x) + eps; verify_component_wise(test, expected);); } +#endif // EIGEN_HAS_C99_MATH // Test Bessel function i0e. Reference results obtained with SciPy. { @@ -403,6 +404,7 @@ template<typename ArrayType> void array_special_functions() v_gamma_sample_der_alpha = np.vectorize(gamma_sample_der_alpha)(a, x) */ +#if EIGEN_HAS_C99_MATH // Test igamma_der_a { ArrayType a(30); @@ -467,7 +469,7 @@ template<typename ArrayType> void array_special_functions() CALL_SUBTEST(res = gamma_sample_der_alpha(alpha, sample); verify_component_wise(res, v);); } -#endif +#endif // EIGEN_HAS_C99_MATH } void test_special_functions() |