<div class="gmail_quote">On Wed, Nov 9, 2011 at 13:42, Lisandro Dalcin <span dir="ltr"><<a href="mailto:dalcinl@gmail.com">dalcinl@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 id=":330">But then, what's the point of memzeroing in VecCreate_Sec? Wouldn't it<br>
be better to fill the array (in debug mode) with signaling NaNs ?</div></blockquote></div><br><div>I'm not opposed to this.</div><div><br></div><div>There is a question of how much we want to be tolerant of sloppy users versus being strict within the library. I think the tactic above (and/or simply leave it uninitialized and count on valgrind to let us know) would be good to use in PETSc tests. I'm not sure it's worth pushing on users as the default.</div>