In 3.0.0-p4

PetscMalloc doesn't seem to return an error code if the requested memory
wasn't allocated ? Is this correct ?

I'm trying to allocate a dense matrix for which there was not enough 
memory and PetscMalloc is returning a null pointer but no errorcode to
catch. which is causing seg faults later.



thanks,
df

Reply via email to