Skip to content
Snippets Groups Projects
Commit 686f797e authored by Müller, Felix's avatar Müller, Felix
Browse files

Merge branch 'issue/petscvectorbackend_include' into 'master'

Added missing include

See merge request !145
parents 93d4289d 19a0a037
No related branches found
No related tags found
1 merge request!145Added missing include
......@@ -3,6 +3,7 @@
#include <petscvec.h>
#include <dune/common/ftraits.hh>
#include <dune/common/rangeutilities.hh>
#include <dune/common/shared_ptr.hh>
#include <dune/functions/functionspacebases/flatmultiindex.hh>
......@@ -241,14 +242,14 @@ namespace AMDiS
}
template <class Func>
void forEach(Func&& f)
void forEach(Func&& f)
{
forEach(mappedRangeView(Dune::range(localSize()),
[](auto i) { return Dune::Functions::FlatMultiIndex<decltype(i)>{i}; }), FWD(f));
}
template <class Func>
void forEach(Func&& f) const
void forEach(Func&& f) const
{
forEach(mappedRangeView(Dune::range(localSize()),
[](auto i) { return Dune::Functions::FlatMultiIndex<decltype(i)>{i}; }), FWD(f));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment