<div class="gmail_quote">On Sun, Oct 2, 2011 at 14:01, Dominik Szczerba <span dir="ltr"><<a href="mailto:dominik@itis.ethz.ch">dominik@itis.ethz.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":1w7">One little clarification:<br>
<br>
> Vec vec = 0;<br>
> VecCreate(..., &vec);<br>
> VecDestroy(&vec);<br>
<br>
This causes a compilation error for (only) VecDestroy, the only way to<br>
avoid is to say:<br>
<br>
VecDestroy(vec);<br></div></blockquote><div><br></div><div>Please upgrade to petsc-3.2.</div><div> </div></div>