<div dir="ltr">Barry and Jed --<div><br></div><div>Actually, I think I do see a bug that has caused me some problems, namely that when RSLS diverges, stuff is corrupt.  This seems to be because DMDestroyVI() was not called when the diverged cause a "break" out of the for loop in SNESSolve_VINEWTONRSLS().  Part of the problem was the indent level. ;-)</div><div><br></div><div>I've decided to follow this advice:</div><div>"""<br>*For very small changes you can clone the petsc repository, create a new branch on your local repository from master, apply and commit your changes there, and use git format-patch origin/master to create the patch. Send the patch to <a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>.<div>"""</div><div><br></div><div>The attached should explain itself, but note I branched off of barry/snes-monitor-vi-residual, and thus did</div><div>   git format-patch barry/snes-monitor-vi-residual</div><div>to generate the patch.</div><div><br></div><div>Is this an easy to apply form, compared to me being confused about my fork?</div><div><br></div><div>Ed</div><div><br>-- <br><div class="gmail_signature">Ed Bueler<br>Dept of Math and Stat and Geophysical Institute<br>University of Alaska Fairbanks<br>Fairbanks, AK 99775-6660<br>301C Chapman and 410D Elvey<br>907 474-7693 and 907 474-7199  (fax 907 474-5394)</div>
</div></div></div>