On Wed, Jun 24, 2009 at 11:34 AM, Toby D. Young <tyoung at ippt.gov.pl> wrote:
> > > Hello PETSc users, > > I want to convert an unsigned int* to PetscInt*. Is there a simple way to > do this? My reason is, that I wish to protect in my application code from > asking for a negative number of eigenvalues to be computed (in SLEPc). You could cast, but you would have to be careful that they are the same size. Matt > > Thanks. > > Best, > Toby > > > ----- > > Toby D. Young > Philosopher-Physicist > Adiunkt (Assistant Professor) > Polish Academy of Sciences > Warszawa, Polska > > www: http://www.ippt.gov.pl/~tyoung <http://www.ippt.gov.pl/%7Etyoung> > skype: stenografia > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20090624/8180732c/attachment.htm>
