Skip to content
Snippets Groups Projects
Commit 0305a4f7 authored by Tobias Leibner's avatar Tobias Leibner
Browse files

silence warnings from eigen, remove unused code

parent ba150336
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,6 @@ set_source_files_properties( ${COMMON_HEADER} PROPERTIES HEADER_FILE_ONLY 1 )
#disable most warnings from dependent modules
foreach(_mod ${ALL_DEPENDENCIES})
dune_module_to_uppercase(_upper_case "${_mod}")
if(${_mod}_INCLUDE_DIRS)
foreach( _idir ${${_mod}_INCLUDE_DIRS} )
add_definitions("-isystem ${_idir}")
......
......@@ -415,6 +415,7 @@ public:
std::abort();
}
#else // HAVE_EIGEN
(void)solution; // silence warning during compilation
static_assert(AlwaysFalse<DiscreteSolutionType>::value, "You are missing eigen!");
#endif // HAVE_EIGEN
}
......
......@@ -13,7 +13,9 @@
#include <memory>
#if HAVE_EIGEN
#include <dune/xt/common/disable_warnings.hh>
#include <Eigen/Eigenvalues>
#include<dune/xt/common/reenable_warnings.hh>
#endif
#include <boost/numeric/conversion/cast.hpp>
......
......@@ -13,7 +13,9 @@
#include <memory>
#if HAVE_EIGEN
#include <dune/xt/common/disable_warnings.hh>
#include <Eigen/Eigenvalues>
#include<dune/xt/common/reenable_warnings.hh>
#endif
#include <dune/common/dynmatrix.hh>
......
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