Skip to content
Snippets Groups Projects
Commit fea340b3 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

bugfix: size of oldCritical_ was too large. Thanks to Jonathan Youett for the patch

[[Imported from SVN: r3115]]
parent 092401ec
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ public: ...@@ -52,7 +52,7 @@ public:
int numLevels) int numLevels)
{ {
MultigridStep<OperatorType, DiscFuncType>::setProblem(mat,x,rhs, numLevels); MultigridStep<OperatorType, DiscFuncType>::setProblem(mat,x,rhs, numLevels);
oldCritical.resize(x.size()*dim, false); oldCritical.resize(x.size(), false);
} }
virtual void iterate(); virtual void iterate();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment