Skip to content
Snippets Groups Projects
Commit 0c091a88 authored by Simon Praetorius's avatar Simon Praetorius
Browse files

added 'using namespace' inside generic lambdas to workaround an intel compiler bug

parent aaaa1414
No related branches found
No related tags found
1 merge request!170added 'using namespace' inside generic lambdas to workaround an intel compiler bug
......@@ -139,6 +139,7 @@ namespace Dune {
static_assert(Y::size() == N(), "length of y does not match row count");
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(y)), [&](auto&& i) {
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(x)), [&](auto&& j) {
(*this)[i][j].umv(x[j], y[i]);
});
......@@ -153,6 +154,7 @@ namespace Dune {
static_assert(Y::size() == N(), "length of y does not match row count");
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(y)), [&](auto&& i) {
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(x)), [&](auto&& j) {
(*this)[i][j].mmv(x[j], y[i]);
});
......@@ -167,6 +169,7 @@ namespace Dune {
static_assert(Y::size() == N(), "length of y does not match row count");
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(y)), [&](auto&& i) {
using namespace Dune::Hybrid;
forEach(integralRange(Hybrid::size(x)), [&](auto&& j) {
(*this)[i][j].usmv(alpha, x[j], y[i]);
});
......@@ -188,6 +191,7 @@ namespace Dune {
auto M = index_constant<MultiTypeBlockMatrix<T1,Args...>::M()>();
using namespace Dune::Hybrid;
forEach(integralRange(N), [&](auto&& i) {
using namespace Dune::Hybrid;
forEach(integralRange(M), [&](auto&& j) {
s << "\t(" << i << ", " << j << "): \n" << m[i][j];
});
......
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