Skip to content
Snippets Groups Projects
Commit 95df0ce3 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Merge branch 'issue/intel_compiler_compatibility' into 'master'

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

See merge request !170
parents 5294612e 0c091a88
No related branches found
No related tags found
1 merge request!170added 'using namespace' inside generic lambdas to workaround an intel compiler bug
Pipeline #
......@@ -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