Skip to content

Commit 014469c

Browse files
Add a comment about using mpmath to generated the reference values.
1 parent 8ec80d3 commit 014469c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/xsf_tests/test_cyl_bessel_k.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
TEST_CASE("cyl_bessel_k gh-46", "[cyl_bessel_k][xsf_tests]") {
77
using test_case = std::tuple<double, std::complex<double>, std::complex<double>, double>;
88
using std::complex;
9+
// Reference values were computed with the Python library mpmath.
910
auto [v, z, ref, rtol] = GENERATE(
1011
test_case{0.0, complex{680.0, -1000.0}, complex{1.901684871999608e-298, 1.713412341479591e-297}, 1e-13},
1112
test_case{0.0, complex{680.0, -680.0}, complex{-4.553730032944803e-298, 1.878727010109855e-297}, 1e-13},

0 commit comments

Comments
 (0)