Skip to content

Commit

Permalink
Fix typos (boostorg#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwignall authored and AreaZR committed Nov 26, 2022
1 parent a4a850b commit 0d09875
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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<T, Policy>() <= 64)))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/compile_test/interpolators_bilinear_uniform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/compile_test/interpolators_makima_incl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/compile_test/interpolators_pchip_incl_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//
#include "test_compile_result.hpp"
//
// This test includes <vector> becasue many of the interpolators are not compatible with pointers/c-style arrays
// This test includes <vector> because many of the interpolators are not compatible with pointers/c-style arrays
//
#include <vector>

Expand Down
2 changes: 1 addition & 1 deletion test/cubic_roots_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ template <class Real> 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<double, 3> expected_roots{-9999.97999997,
-0.010010015026300100757327057,
Expand Down

0 comments on commit 0d09875

Please sign in to comment.