Commit 0529a180 authored by Dave Moxey's avatar Dave Moxey Committed by Spencer Sherwin
Browse files

Fix compiler error, let PETSc handle finalising MPI for us

parent 601aeabc
......@@ -117,8 +117,9 @@ namespace Nektar
......@@ -288,7 +288,7 @@ namespace Nektar
// size and a pointer to the linear system. We do this so that
// we can call a member function to the matrix-vector and
// preconditioning multiplication in a subclass.
ShellCtx *ctx1 = new ShellCtx(), ctx2 = new ShellCtx();
ShellCtx *ctx1 = new ShellCtx(), *ctx2 = new ShellCtx();
ctx1->nGlobal = ctx2->nGlobal = nGlobal;
ctx1->nDir = ctx2->nDir = nDir;
ctx1->linSys = ctx2->linSys = this;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment