2
0
mirror of https://github.com/boostorg/math.git synced 2026-01-19 04:22:09 +00:00

[CI SKIP] Remove warning in example

This commit is contained in:
Nick Thompson
2018-04-24 21:20:40 +08:00
parent 72c56026f9
commit cfdbb333e7

View File

@@ -71,7 +71,7 @@ int main()
// An eyeball estimate indicates that the population crossed 100 million around 1915.
// Let's see what interpolation says:
boost::math::cubic_b_spline<double> p(population.data(), population.size(), t0, 10);
boost::math::cubic_b_spline<double> p(population.data(), population.size(), t0, time_step);
// Now create a function which has a zero at p = 100,000,000:
auto f = [=](double t){ return p(t) - 100000000; };