<div class="gmail_quote">On Mon, Sep 17, 2012 at 2:45 PM, Eduardo <span dir="ltr"><<a href="mailto:erocha.ssa@gmail.com" target="_blank">erocha.ssa@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Does anyone know the reason for the following errors:<br>
<br>
error: cannot convert ‘_p_KSP**’ to ‘KSP {aka _p_KSP*}’ for argument<br>
‘1’ to ‘PetscErrorCode KSPDestroy(KSP)’<br></blockquote><div><br></div><div>Sounds like you are updating some old code. The destroy methods were changed to take a reference a couple releases ago. Use KSPDestroy(&ksp) and VecScatterDestroy(&scatter).</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
error: cannot convert ‘_p_VecScatter**’ to ‘VecScatter {aka<br>
_p_VecScatter*}’ for argument ‘1’ to ‘PetscErrorCode<br>
VecScatterDestroy(VecScatter)’<br>
<br>
Thanks in advance,<br>
Eduardo<br>
</blockquote></div><br>