Skip to content
Snippets Groups Projects
Commit 0c74a19a authored by Oliver Sander's avatar Oliver Sander
Browse files

[!273] Fix a bug in 'pre' regarding the handling of scalar-valued matrices

Merge branch 'bugfix-for-amg-with-scalar-matrix' into 'master'

ref:core/dune-istl This bug is really new \-- it only came with the
introduction of support for scalar-valued matrices.

See merge request [!273]

  [!273]: gitlab.dune-project.org/core/dune-istl/merge_requests/273
parents 040cf520 810be787
No related branches found
No related tags found
1 merge request!273Fix a bug in 'pre' regarding the handling of scalar-valued matrices
Pipeline #16064 passed
......@@ -587,7 +587,7 @@ namespace Dune
{
Hybrid::ifElse(IsNumber<Block>(),
[&](auto id) {
x[row.index()] = id(diagonal) / b[row.index()];
x[row.index()] = b[row.index()] / id(diagonal);
},
[&](auto id) {
id(diagonal).solve(x[row.index()], b[row.index()]);
......
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