Skip to content
Snippets Groups Projects
Commit a21fdec3 authored by Nils-Arne Dreier's avatar Nils-Arne Dreier
Browse files

use id in Hybrid::ifElse to fix compiler error with clang

parent 50193976
No related branches found
No related tags found
1 merge request!278[bugfix] matrixredistribute for matrices with scalar block_type and add a test
......@@ -452,7 +452,7 @@ namespace Dune
*c = 1;
},
[&](auto id){
for(auto r=c->begin(), rend=c->end();
for(auto r=id(c)->begin(), rend=id(c)->end();
r != rend; ++r)
(*r)[r.index()]=1;
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment