mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Remove typo [CI SKIP]
This commit is contained in:
@@ -53,7 +53,6 @@ int main()
|
||||
// We will try to figure out when the population of the United States crossed 100 million.
|
||||
// Since the census is taken every 10 years, the data is equally spaced, so we can use the cubic b spline.
|
||||
// Data taken from https://en.wikipedia.org/wiki/United_States_Census
|
||||
// An eye
|
||||
// We'll start at the year 1860:
|
||||
double t0 = 1860;
|
||||
double time_step = 10;
|
||||
@@ -77,7 +76,7 @@ int main()
|
||||
auto f = [=](double t){ return p(t) - 100000000; };
|
||||
|
||||
// Boost includes a bisection algorithm, which is robust, though not as fast as some others
|
||||
// we provide, but lets try that first. We need a termination condition for it, which
|
||||
// we provide, but let's try that first. We need a termination condition for it, which
|
||||
// takes the two endpoints of the range and returns either true (stop) or false (keep going),
|
||||
// we could use a predefined one such as boost::math::tools::eps_tolerance<double>, but that
|
||||
// won't stop until we have full double precision which is overkill, since we just need the
|
||||
|
||||
Reference in New Issue
Block a user