[petsc-dev] changed ISCreateGeneral/NC/WithArray()

Barry Smith bsmith at mcs.anl.gov
Sun Oct 3 18:19:56 CDT 2010


On Oct 3, 2010, at 6:15 PM, Jed Brown wrote:

> No, you cannot free a const pointer.

   Even when it is the right thing to do, that is then just being pedantic :-)

   Barry

> 
> 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...
>> 
> 




More information about the petsc-dev mailing list