Commit 45345e3d authored by Müller, Felix's avatar Müller, Felix Committed by Praetorius, Simon
Browse files

Use Dune::factorial

parent 98999a15
......@@ -57,9 +57,8 @@ 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)>::factorial;
= Math::pow<GridView::dimension>(2) * Dune::factorial(int(GridView::dimension));
estRowSize_ = std::min(cols_, colBasis.localView().maxSize() * surrounding);
}
......
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