mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Big GCC warning fix - see https://github.com/boostorg/math/issues/136
This commit is contained in:
@@ -328,7 +328,7 @@ We can list quantiles for a few probabilities:
|
||||
double ps[] = {0., 0.001, 0.01, 0.05, 0.1, 0.5, 0.9, 0.95, 0.99, 0.999, 1.};
|
||||
// Confidence as fraction = 1-alpha, as percent = 100 * (1-alpha[i]) %
|
||||
cout.precision(3);
|
||||
for (int i = 0; i < sizeof(ps)/sizeof(ps[0]); i++)
|
||||
for (unsigned i = 0; i < sizeof(ps)/sizeof(ps[0]); i++)
|
||||
{
|
||||
cout << "If confidence of meeting quota is " << ps[i]
|
||||
<< ", then finishing house is " << quantile(nb, ps[i]) + sales_quota
|
||||
|
||||
Reference in New Issue
Block a user