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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user