diff --git a/example/cubic_b_spline_example.cpp b/example/cubic_b_spline_example.cpp index 4a8f0891e..7f5e30dce 100644 --- a/example/cubic_b_spline_example.cpp +++ b/example/cubic_b_spline_example.cpp @@ -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, but that // won't stop until we have full double precision which is overkill, since we just need the