In the case of a matrix, shouldn't these checks go the first place we encounter them (MatSetValues)?<div><br></div><div>Running with -fp_trap is really good at finding these kind of mistakes.<br><br><div class="gmail_quote">
On Wed, Jun 13, 2012 at 8:50 AM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
   On return from user FormFunction and FormJacobian in debug mode should we check if all user output is sane? That is numerical values in the matrix and vector are sane, no 1.e-307 or 1.e85 and stuff like that?<br>
<span class="HOEnZb"><font color="#888888"><br>
   Barry<br>
<br>
</font></span></blockquote></div><br></div>