Skip to content
Snippets Groups Projects
Unverified Commit 7369817a authored by René Fritze's avatar René Fritze
Browse files

[math] employ proper ADL for isnan/inf forwards

parent 6b0151a7
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,8 @@ class numeric_limits<T, typename std::enable_if<std::numeric_limits<T>::is_speci
template <class T>
bool isnan(T val)
{
return std::isnan(val);
using std::isnan;
return isnan(val);
}
//! override isnan for complex here so it doesn't bleed into the std namespace
......@@ -254,7 +255,8 @@ bool isnan(std::complex<T> val)
template <class T>
bool isinf(T val)
{
return std::isinf(val);
using std::isinf;
return isinf(val);
}
//! override isinf for complex here so it doesn't bleed into the std namespace
......@@ -320,8 +322,6 @@ public:
} // namespace XT
} // namespace Dune
namespace std {
}
template <class T>
inline std::ostream& operator<<(std::ostream& s, const Dune::XT::Common::MinMaxAvg<T>& d)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment