Skip to content
Snippets Groups Projects
Commit 89a821b5 authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Dune-solvers does not require dune-typetree

parent 1301382f
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -7,4 +7,4 @@ Module: dune-solvers ...@@ -7,4 +7,4 @@ Module: dune-solvers
Version: 2.5 Version: 2.5
Maintainer: oliver.sander@tu-dresden.de Maintainer: oliver.sander@tu-dresden.de
#depending on #depending on
Depends: dune-common dune-grid dune-istl dune-localfunctions dune-typetree Depends: dune-common dune-grid dune-istl dune-localfunctions
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
#include <tuple> #include <tuple>
#include <dune/typetree/utility.hh> #include <dune/common/indices.hh>
namespace Dune namespace Dune
{ {
...@@ -34,7 +34,7 @@ namespace Solvers ...@@ -34,7 +34,7 @@ namespace Solvers
/** \brief Const access to the tuple elements */ /** \brief Const access to the tuple elements */
template<std::size_t i> template<std::size_t i>
auto operator[](const Dune::TypeTree::index_constant<i>&) const auto operator[](const Dune::index_constant<i>&) const
->decltype(std::get<i>(*this)) ->decltype(std::get<i>(*this))
{ {
return std::get<i>(*this); return std::get<i>(*this);
...@@ -42,7 +42,7 @@ namespace Solvers ...@@ -42,7 +42,7 @@ namespace Solvers
/** \brief Non-const access to the tuple elements */ /** \brief Non-const access to the tuple elements */
template<std::size_t i> template<std::size_t i>
auto operator[](const Dune::TypeTree::index_constant<i>&) auto operator[](const Dune::index_constant<i>&)
->decltype(std::get<i>(*this)) ->decltype(std::get<i>(*this))
{ {
return std::get<i>(*this); return std::get<i>(*this);
...@@ -60,4 +60,4 @@ namespace Solvers ...@@ -60,4 +60,4 @@ namespace Solvers
} // namespace Dune } // namespace Dune
#endif #endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment