Ignore:
Timestamp:
Jun 1, 2006, 12:31:05 PM (18 years ago)
Author:
jack
Message:

Roll back changes, so it'll stop segfaulting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pymetis/metis-4.0/Lib/struct.h

    r2910 r3039  
    1212 */
    1313
    14 typedef long idxtype;
     14/* Undefine the following #define in order to use short int as the idxtype */
     15#define IDXTYPE_INT
     16
     17/* Indexes are as long as integers for now */
     18#ifdef IDXTYPE_INT
     19typedef int idxtype;
     20#else
     21typedef short idxtype;
     22#endif
    1523
    1624#define MAXIDX  (1<<8*sizeof(idxtype)-2)
Note: See TracChangeset for help on using the changeset viewer.