<div class="gmail_quote">On Thu, Aug 30, 2012 at 5:12 PM, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>Its not wrong. This is the way I wanted it. You set the PetscSection and give up control. If you</div>
<div>do not want to give up control, then call PetscObjectReference() before passing it in.</div></blockquote></div><br><div>Since this is (a) different from everything else in PETSc and (b) not explicitly documented, it is doubly wrong.</div>