Skip to content
Snippets Groups Projects
Commit 6ebdee6e authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Initialize a pointer to silence a warning

parent f901bfba
Branches
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ void RiemannianTrustRegionSolver<Basis,TargetSpace>::solve()
{
int rank = grid_->comm().rank();
MonotoneMGStep<MatrixType,CorrectionType>* mgStep; // Non-shared pointer -- the innerSolver keeps the ownership
MonotoneMGStep<MatrixType,CorrectionType>* mgStep = nullptr; // Non-shared pointer -- the innerSolver keeps the ownership
// if the inner solver is a monotone multigrid set up a max-norm trust-region
if (dynamic_cast<LoopSolver<CorrectionType>*>(innerSolver_.get())) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment