Skip to content
Snippets Groups Projects
Commit 5fdca317 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[spaces.parallel] silence warning

parent cda7897c
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,14 @@ struct CommunicationChooser<ViewImp, true> ...@@ -57,7 +57,14 @@ struct CommunicationChooser<ViewImp, true>
} }
template <class Space> template <class Space>
static bool prepare(const Space& space, Type& communicator) static bool prepare(const Space&
#if HAVE_DUNE_PDELAB
space,
Type& communicator)
#else
/*space*/,
Type& /*communicator*/)
#endif
{ {
#if HAVE_DUNE_PDELAB #if HAVE_DUNE_PDELAB
Stuff::LA::IstlRowMajorSparseMatrix<typename Space::RangeFieldType> matrix; Stuff::LA::IstlRowMajorSparseMatrix<typename Space::RangeFieldType> matrix;
...@@ -65,7 +72,7 @@ struct CommunicationChooser<ViewImp, true> ...@@ -65,7 +72,7 @@ struct CommunicationChooser<ViewImp, true>
.createIndexSetAndProjectForAMG(matrix.backend(), communicator); .createIndexSetAndProjectForAMG(matrix.backend(), communicator);
#endif // HAVE_DUNE_PDELAB #endif // HAVE_DUNE_PDELAB
return true; return true;
} } // ... prepare(...)
}; // struct CommunicationChooser< ..., true > }; // struct CommunicationChooser< ..., true >
......
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