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

Remove typos and unused variables.

This commit is contained in:
Nick Thompson
2018-10-30 14:39:49 -06:00
parent ea0128205e
commit c81919ff26
5 changed files with 2 additions and 5 deletions

View File

@@ -55,6 +55,7 @@ void test_cauchy()
try
{
double d = mean(myspace::cauchy()); // Cauchy does not have a mean!
(void) d;
}
catch(const std::domain_error& e)
{

View File

@@ -107,7 +107,6 @@ const std::string full_roots_name(boost_root + "/libs/math/doc/roots/");
const std::size_t nooftypes = 4;
const std::size_t noofalgos = 4;
const std::size_t noofroots = 3;
double digits_accuracy = 1.0; // 1 == maximum possible accuracy.

View File

@@ -131,8 +131,6 @@ std::vector<std::string> names; // short name.
uintmax_t iters; // Global as iterations is not returned by rooting function.
const int convert = 1000; // convert nanoseconds to microseconds (assuming this is resolution).
const int count = 1000000; // Number of iterations to average.
struct root_info

View File

@@ -108,7 +108,6 @@ const std::string full_roots_name(boost_root + "/libs/math/doc/roots/");
const std::size_t nooftypes = 4;
const std::size_t noofalgos = 4;
const std::size_t noofroots = 3;
double digits_accuracy = 1.0; // 1 == maximum possible accuracy.

View File

@@ -764,7 +764,7 @@ void test_constexpr()
(void)f3;
(void) fval2;
(void) dval2;
(voide) ldval2;
(void) ldval2;
#ifdef BOOST_MATH_USE_FLOAT128
constexpr __float128 f4 = boost::math::constants::pi<__float128>();
(void)f4;