On 1 November 2013 19:23, Barry Smith <[email protected]> wrote: > > On Nov 1, 2013, at 10:56 AM, Jed Brown <[email protected]> wrote: > >> Lisandro Dalcin <[email protected]> writes: >> >>> Currently, MatGetBlockSize[s]() fails before matrix preallocation >>> because of the check MatCheckPreallocated(mat,1). Are there any >>> objections to remove that check? >> >> This is fine with me. > > Presumably if it has not been set yet it would return -1 and that would be > documented? >
https://bitbucket.org/petsc/petsc/pull-request/117/allow-calling-matgetblocksize-s-before/diff Barry, are you happy with the notes in the doc section? -- Lisandro Dalcin --------------- CIMEC (UNL/CONICET) Predio CONICET-Santa Fe Colectora RN 168 Km 472, Paraje El Pozo 3000 Santa Fe, Argentina Tel: +54-342-4511594 (ext 1016) Tel/Fax: +54-342-4511169
