Skip to content
Snippets Groups Projects
Commit 0922b6fc authored by Carsten Gräser's avatar Carsten Gräser
Browse files

Spezialize sparseRangeFor for MultiTypeBlockVector not *Matrix

parent 89a821b5
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -246,7 +246,7 @@ constexpr auto hybridSize(const T& t)
* \brief Hybrid for loop over sparse range
*/
template<class... T, class F>
void sparseRangeFor(Dune::MultiTypeBlockMatrix<T...>& range, F&& f)
void sparseRangeFor(const Dune::MultiTypeBlockVector<T...>& range, F&& f)
{
integralRangeFor<std::size_t>(Indices::_0, hybridSize(range), [&](auto&& i) {
f(range[i], i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment