diff --git a/dune/solvers/common/CMakeLists.txt b/dune/solvers/common/CMakeLists.txt index 3fe13a08429c6315c08aa7007fe8a8fe72e77d0e..4af29f62113514bb2e2cd9c7195d113d8c5b5c86 100644 --- a/dune/solvers/common/CMakeLists.txt +++ b/dune/solvers/common/CMakeLists.txt @@ -13,5 +13,4 @@ install(FILES resize.hh staticmatrixtools.hh tuplevector.hh - typetraits.hh DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/solvers/common) diff --git a/dune/solvers/common/typetraits.hh b/dune/solvers/common/typetraits.hh deleted file mode 100644 index c1d77a2910d413be1ba2e51c1b1aa886341f1a39..0000000000000000000000000000000000000000 --- a/dune/solvers/common/typetraits.hh +++ /dev/null @@ -1,18 +0,0 @@ -#ifndef DUNE_SOLVERS_COMMON_TYPETRAITS_HH -#define DUNE_SOLVERS_COMMON_TYPETRAITS_HH - -#include <type_traits> - -namespace Dune { -namespace Solvers { - template <typename T> - struct IsNumber - : public std::integral_constant<bool, std::is_arithmetic<T>::value> {}; - - template <typename T> - struct IsNumber<std::complex<T>> - : public std::integral_constant<bool, IsNumber<T>::value> {}; -} -} - -#endif