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

Merge branch 'fix/slotsize_factorial' into 'master'

Use 2.6 Dune::Factorial

See merge request !165
parents 5f559247 f1e42336
......@@ -43,8 +43,9 @@ namespace AMDiS
void init(RowBasis const& rowBasis, ColBasis const& colBasis)
{
using GridView = typename RowBasis::GridView;
// TODO(FM): Simplify using Dune::factorial with 2.7
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();
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