Skip to content
Snippets Groups Projects
Commit bc3087b4 authored by Timo Koch's avatar Timo Koch
Browse files

[cleanup] Do not capture unused variable in lambda

parent 839a1e54
No related branches found
No related tags found
1 merge request!986Cleanup/staggered clang warnings
......@@ -98,10 +98,10 @@ private:
// fill the pattern
std::size_t rowIndex = 0;
Dune::Hybrid::forEach(A, [&addIndices, &rowIndex, &occupationPattern, numRows](const auto& rowOfMultiTypeMatrix)
Dune::Hybrid::forEach(A, [&addIndices, &rowIndex, numRows](const auto& rowOfMultiTypeMatrix)
{
std::size_t colIndex = 0;
Dune::Hybrid::forEach(rowOfMultiTypeMatrix, [&addIndices, &occupationPattern, &colIndex, &rowIndex, numRows](const auto& subMatrix)
Dune::Hybrid::forEach(rowOfMultiTypeMatrix, [&addIndices, &colIndex, &rowIndex, numRows](const auto& subMatrix)
{
addIndices(subMatrix, rowIndex, colIndex);
......
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