aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/test/special_functions.cpp
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2018-06-07 16:12:42 +0000
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2018-06-07 16:12:42 +0000
commitd2b0a4a59b42c085511b089cc11e11be763334da (patch)
treeead23b4e89c87dd5ad281c15025c1eb149f98632 /unsupported/test/special_functions.cpp
parentc25034710ede8eb7e177e8a7426817b6a29e5440 (diff)
parent6c71c7d360dbabdadef4be29274693ecd1a69007 (diff)
Merged in mfigurnov/eigen/fix-bessel (pull request PR-404)
Fix compilation of special functions without C99 math.
Diffstat (limited to 'unsupported/test/special_functions.cpp')
-rw-r--r--unsupported/test/special_functions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unsupported/test/special_functions.cpp b/unsupported/test/special_functions.cpp
index 48d0db95e..0729dd4dc 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.
{
@@ -375,7 +376,6 @@ template<typename ArrayType> void array_special_functions()
CALL_SUBTEST(res = i1e(x);
verify_component_wise(res, expected););
}
-#endif
}
void test_special_functions()