No, you cannot free a const pointer.

Jed

On Oct 4, 2010 1:06 AM, "Barry Smith" <bsmith at mcs.anl.gov> wrote:


On Oct 3, 2010, at 6:00 PM, Lisandro Dalcin wrote:

> On 3 October 2010 19:51, Barry Smith <bsmith at ...
  How?  the arguments are identical, up to and including even the const on
the idx.

  Barry


> But we are in C, and I see that
> ISCreateGeneralWithArray() as a developer-level call, while
> I...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20101004/478e195d/attachment.html>

Reply via email to