Skip to content
Snippets Groups Projects
Commit 48d1f5d5 authored by Oliver Sander's avatar Oliver Sander Committed by sander
Browse files

[bugfix] Global matrix size was set wrongly in method 'reduceCopy'

[[Imported from SVN: r9975]]
parent e3dde6a7
No related branches found
No related tags found
No related merge requests found
......@@ -106,7 +106,7 @@ public:
// Create occupation pattern in matrix
Dune::MatrixIndexSet occupationPattern;
occupationPattern.resize(localMapper1_.size(), localMapper2_.size());
occupationPattern.resize(rowGlobalMapper_.size(), columnGlobalMapper_.size());
for (size_t k = 0; k < globalMatrixEntries.size(); ++k)
occupationPattern.add(globalMatrixEntries[k].row, globalMatrixEntries[k].col);
......
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