Skip to content

Commit

Permalink
VecScatterCreateToZero: fix man page
Browse files Browse the repository at this point in the history
Reported-by: Dave May <dave.mayhem23@gmail.com>
  • Loading branch information
jedbrown committed Jan 31, 2014
1 parent 6d367ca commit 7e441cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vec/vec/utils/vecmpitoseq.c
Expand Up @@ -101,8 +101,8 @@ PetscErrorCode VecScatterCreateToAll(Vec vin,VecScatter *ctx,Vec *vout)
$ VecScatterEnd(ctx,vin,vout,INSERT_VALUES,SCATTER_FORWARD);
$
$ // destroy scatter context and local vector when no longer needed
$ VecScatterDestroy(ctx);
$ VecDestroy(vout);
$ VecScatterDestroy(&ctx);
$ VecDestroy(&vout);
.seealso VecScatterCreate(), VecScatterCreateToAll(), VecScatterBegin(), VecScatterEnd()
Expand Down

0 comments on commit 7e441cd

Please sign in to comment.