"Mark F. Adams" <[email protected]> writes:

>> 
>>> This is a sort of sensible number.  
>> 
>> Nonsense!  PETSc and C both use 0-based indexing consistently.  This is
>> not a Fortran interface.
>
> I meant it is a valid number.  An IS can start at 1.

An IS can start at any number, but this one starts at 0 and when
ISStrideGetInfo reads 1, it's reading out of IS_General, specifically
the PetscBool "sorted" field with 32-bit ints, and combination of
PetscBool "sorted" and PetscBool "allocated" with 64-bit ints.

Attachment: pgpWEjnTuzM4b.pgp
Description: PGP signature

Reply via email to