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
Branches
No related tags found
No related merge requests found
Pipeline #
......@@ -7,4 +7,4 @@ Module: dune-solvers
Version: 2.5
Maintainer: oliver.sander@tu-dresden.de
#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 @@
#include <tuple>
#include <dune/typetree/utility.hh>
#include <dune/common/indices.hh>
namespace Dune
{
......@@ -34,7 +34,7 @@ namespace Solvers
/** \brief Const access to the tuple elements */
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))
{
return std::get<i>(*this);
......@@ -42,7 +42,7 @@ namespace Solvers
/** \brief Non-const access to the tuple elements */
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))
{
return std::get<i>(*this);
......@@ -60,4 +60,4 @@ namespace Solvers
} // namespace Dune
#endif
\ No newline at end of file
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment