diff --git a/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp b/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp index 300d95574f..db5ea1da06 100644 --- a/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp +++ b/include/boost/math/special_functions/detail/hypergeometric_1F1_recurrence.hpp @@ -313,7 +313,7 @@ } if (ak - 1 == b) { - // When ak - 1 == b are recursion coefficients dissappear to zero and + // When ak - 1 == b are recursion coefficients disappear to zero and // we end up with a NaN result. Reduce the recursion steps by 1 to // avoid this. We rely on |b| small and therefore no infinite recursion. ak -= 1; diff --git a/include/boost/math/special_functions/hypergeometric_1F1.hpp b/include/boost/math/special_functions/hypergeometric_1F1.hpp index 459c879490..a351a589e0 100644 --- a/include/boost/math/special_functions/hypergeometric_1F1.hpp +++ b/include/boost/math/special_functions/hypergeometric_1F1.hpp @@ -114,7 +114,7 @@ namespace boost { namespace math { namespace detail { // At higher than double precision we need to be further away from the crossover location to // get full converge, but it's not clear how much further - indeed at quad precision it's // basically impossible to ever get forwards iteration to work. Backwards seems to work - // OK as long as a > 1 whatever the precision tbough. + // OK as long as a > 1 whatever the precision though. // int domain = hypergeometric_1F1_negative_b_recurrence_region(a, b, z); if ((domain < 0) && ((a > 1) || (boost::math::policies::digits() <= 64))) diff --git a/test/compile_test/interpolators_bezier_polynomial_incl_test.cpp b/test/compile_test/interpolators_bezier_polynomial_incl_test.cpp index c02c5f5667..2eb04f20db 100644 --- a/test/compile_test/interpolators_bezier_polynomial_incl_test.cpp +++ b/test/compile_test/interpolators_bezier_polynomial_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_bilinear_uniform.cpp b/test/compile_test/interpolators_bilinear_uniform.cpp index c4e1778422..eca935df4f 100644 --- a/test/compile_test/interpolators_bilinear_uniform.cpp +++ b/test/compile_test/interpolators_bilinear_uniform.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_cardinal_trig_incl_test.cpp b/test/compile_test/interpolators_cardinal_trig_incl_test.cpp index 3b32d4b074..937a19c7e3 100644 --- a/test/compile_test/interpolators_cardinal_trig_incl_test.cpp +++ b/test/compile_test/interpolators_cardinal_trig_incl_test.cpp @@ -15,7 +15,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_cubic_hermite_incl_test.cpp b/test/compile_test/interpolators_cubic_hermite_incl_test.cpp index 50c27ce433..c6c36b48ed 100644 --- a/test/compile_test/interpolators_cubic_hermite_incl_test.cpp +++ b/test/compile_test/interpolators_cubic_hermite_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_makima_incl_test.cpp b/test/compile_test/interpolators_makima_incl_test.cpp index f4da34dc24..2f6e5f76be 100644 --- a/test/compile_test/interpolators_makima_incl_test.cpp +++ b/test/compile_test/interpolators_makima_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_pchip_incl_test.cpp b/test/compile_test/interpolators_pchip_incl_test.cpp index 4257e99940..942e8dbbe4 100644 --- a/test/compile_test/interpolators_pchip_incl_test.cpp +++ b/test/compile_test/interpolators_pchip_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_quintic_hermite_incl_test.cpp b/test/compile_test/interpolators_quintic_hermite_incl_test.cpp index df688287cb..fe1b57aedf 100644 --- a/test/compile_test/interpolators_quintic_hermite_incl_test.cpp +++ b/test/compile_test/interpolators_quintic_hermite_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_septic_hermite_incl_test.cpp b/test/compile_test/interpolators_septic_hermite_incl_test.cpp index 0ab8308306..936d24de8f 100644 --- a/test/compile_test/interpolators_septic_hermite_incl_test.cpp +++ b/test/compile_test/interpolators_septic_hermite_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_vector_barycentric_rational_incl_test.cpp b/test/compile_test/interpolators_vector_barycentric_rational_incl_test.cpp index 3d2cf3b66c..88f8d3e833 100644 --- a/test/compile_test/interpolators_vector_barycentric_rational_incl_test.cpp +++ b/test/compile_test/interpolators_vector_barycentric_rational_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/compile_test/interpolators_whittaker_shannon_incl_test.cpp b/test/compile_test/interpolators_whittaker_shannon_incl_test.cpp index f2540f36a0..8e2efcdfce 100644 --- a/test/compile_test/interpolators_whittaker_shannon_incl_test.cpp +++ b/test/compile_test/interpolators_whittaker_shannon_incl_test.cpp @@ -13,7 +13,7 @@ // #include "test_compile_result.hpp" // -// This test includes becasue many of the interpolators are not compatible with pointers/c-style arrays +// This test includes because many of the interpolators are not compatible with pointers/c-style arrays // #include diff --git a/test/cubic_roots_test.cpp b/test/cubic_roots_test.cpp index 6b77f12cef..ab4b32049c 100644 --- a/test/cubic_roots_test.cpp +++ b/test/cubic_roots_test.cpp @@ -115,7 +115,7 @@ template void test_zero_coefficients() { void test_ill_conditioned() { // An ill-conditioned root reported by SATovstun: - // "Exact" roots produced with a high-precision calcuation on Wolfram Alpha: + // "Exact" roots produced with a high-precision calculation on Wolfram Alpha: // NSolve[x^3 + 10000*x^2 + 200*x +1==0,x] std::array expected_roots{-9999.97999997, -0.010010015026300100757327057,