diff --git a/examples/bootstrap.cpp b/examples/bootstrap.cpp index 36c956fc..5b11cffc 100644 --- a/examples/bootstrap.cpp +++ b/examples/bootstrap.cpp @@ -36,7 +36,7 @@ int main() // Invoke the bootstrap to compute the standard error of the mean unsigned int num_resamples = conf.get("num_resamples", 1024); - double eom = sm::bootstrap::error_of_mean (dist, num_resamples); + double eom = sm::bootstrap::error_of_mean (dist, num_resamples); std::cout << "The bootstrapped, standard error of the mean is " << eom << std::endl; // Graph the distribution, with labels @@ -74,10 +74,10 @@ int main() sm::rand_normal rnorm2 (dist2_mean, dist2_sigma); sm::vvec dist2; dist2.set_from (rnorm2.get(dist2_n)); - double eom2 = sm::bootstrap::error_of_mean (dist2, num_resamples); + double eom2 = sm::bootstrap::error_of_mean (dist2, num_resamples); std::cout << "Bootstrapped error of mean of dist2 is " << eom2 << std::endl; - sm::vec asl = sm::bootstrap::ttest_equalityofmeans (dist, dist2, num_resamples); + sm::vec asl = sm::bootstrap::ttest_equalityofmeans (dist, dist2, num_resamples); std::cout << "Achieved significance level: " << asl[0] << " (with minasl: " << asl[1] << ")\n"; sm::histo h2(dist2, 100); diff --git a/maths b/maths index 0acb70ea..534fc8a0 160000 --- a/maths +++ b/maths @@ -1 +1 @@ -Subproject commit 0acb70ea154f031751f9921bc4581e65242f4261 +Subproject commit 534fc8a07ab12374c0befcf280878f265b3b0203