Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
f1e42336
Commit
f1e42336
authored
Feb 27, 2020
by
Müller, Felix
Browse files
Use 2.6 Dune::Factorial
parent
69256912
Changes
1
Hide whitespace changes
Inline
Side-by-side
amdis/linearalgebra/mtl/SlotSize.hpp
View file @
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
::
f
actorial
(
int
(
GridView
::
dimension
)
)
;
=
Math
::
pow
<
GridView
::
dimension
>
(
2
)
*
Dune
::
F
actorial
<
int
(
GridView
::
dimension
)
>::
factorial
;
rows_
=
rowBasis
.
dimension
();
cols_
=
colBasis
.
dimension
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment