Commits

Jed Brown  committed 7e441cd

VecScatterCreateToZero: fix man page

Reported-by: Dave May <dave.mayhem23@gmail.com>

  • Participants
  • Parent commits 6d367ca

Comments (0)

Files changed (1)

File src/vec/vec/utils/vecmpitoseq.c

 $        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()