Commit 0f71876d authored by Dave Moxey's avatar Dave Moxey

Fix compiler error, let PETSc handle finalising MPI for us

parent 19f63b09
......@@ -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;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment