Commit 6a062761 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'improvement/use_new_factorial' into 'master'

Use Dune::factorial

See merge request amdis/amdis!88
parents 98999a15 45345e3d
......@@ -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