That's because the check isn't firing in optimized mode. Barry, should MatCreate_Composite() set mat->preallocated = TRUE because preallocation is implicit for composite matrices, or should the user/MatCreateComposite() be responsible for calling MatSetUp()?
On Thu, Dec 13, 2012 at 10:47 AM, Nachiket Gokhale <gokhalen at gmail.com>wrote: > Sorry for replying to my own question, but it seems to be working in > optimized mode, but not in Debug mode, which is strange. -Nachiket -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20121213/0db21257/attachment.html>
