Changeset 2807


Ignore:
Timestamp:
May 5, 2006, 4:56:59 PM (18 years ago)
Author:
jack
Message:

Keep the unpatched version of the metis code in the repository.
Unsure if it's working properly on both x86 and x86_64, the unittest is
currently failing on x86.

File:
1 edited

Legend:

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

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