Commit f1e42336 authored by Müller, Felix's avatar Müller, Felix
Browse files

Use 2.6 Dune::Factorial

parent 69256912
...@@ -43,8 +43,9 @@ namespace AMDiS ...@@ -43,8 +43,9 @@ namespace AMDiS
void init(RowBasis const& rowBasis, ColBasis const& colBasis) void init(RowBasis const& rowBasis, ColBasis const& colBasis)
{ {
using GridView = typename RowBasis::GridView; using GridView = typename RowBasis::GridView;
// TODO(FM): Simplify using Dune::factorial with 2.7
static std::size_t surrounding static std::size_t surrounding
= Math::pow<GridView::dimension>(2) * Dune::factorial(int(GridView::dimension)); = Math::pow<GridView::dimension>(2) * Dune::Factorial<int(GridView::dimension)>::factorial;
rows_ = rowBasis.dimension(); rows_ = rowBasis.dimension();
cols_ = colBasis.dimension(); cols_ = colBasis.dimension();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment