<div class="gmail_quote">On Sat, Jan 28, 2012 at 11:09, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com">knepley@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>I think MatSetUpPreallocation() would work. If we are requiring this, what about having it called in</div>
<div>MatSetFromOptions().</div></blockquote></div><br><div>Does not work because MatSetFromOptions() can change the matrix type, but the user must call preallocation routines *after* the type has been set.</div>