mirror of
https://github.com/boostorg/math.git
synced 2026-02-01 20:42:19 +00:00
tanh_sinh: add some missing using declarations.
This commit is contained in:
@@ -667,7 +667,7 @@ void tanh_sinh_detail<Real, Policy>::prune_to_min_complement(const Real& m)
|
||||
{
|
||||
for (unsigned row = 0; (row < m_abscissas.size()) && m_abscissas[row].size(); ++row)
|
||||
{
|
||||
typename std::vector<Real>::iterator pos = std::lower_bound(m_abscissas[row].begin(), m_abscissas[row].end(), m, [](const Real& a, const Real& b) { return fabs(a) > fabs(b); });
|
||||
typename std::vector<Real>::iterator pos = std::lower_bound(m_abscissas[row].begin(), m_abscissas[row].end(), m, [](const Real& a, const Real& b) { using std::fabs; return fabs(a) > fabs(b); });
|
||||
if (pos != m_abscissas[row].end())
|
||||
{
|
||||
m_abscissas[row].erase(pos, m_abscissas[row].end());
|
||||
|
||||
@@ -58,6 +58,9 @@ using std::sinh;
|
||||
using std::tanh;
|
||||
using std::cosh;
|
||||
using std::pow;
|
||||
using std::exp;
|
||||
using std::sin;
|
||||
using std::cos;
|
||||
using std::string;
|
||||
using boost::multiprecision::cpp_bin_float_50;
|
||||
using boost::multiprecision::cpp_bin_float_100;
|
||||
|
||||
Reference in New Issue
Block a user