Ignore:
Timestamp:
May 11, 2006, 1:26:48 PM (19 years ago)
Author:
jack
Message:

Rolled back the patching of the metis sources. Now passes the unittest
on x86_64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pymetis/long_idxtype.patch

    r2806 r2842  
    1 diff -aur metis-4.0/Lib/struct.h metis-4.0-new/Lib/struct.h
    2 --- metis-4.0/Lib/struct.h      2006-05-05 13:35:37.000000000 +1000
    3 +++ metis-4.0-new/Lib/struct.h  2006-05-05 15:33:22.000000000 +1000
    4 @@ -11,15 +11,7 @@
    5   * $Id: struct.h,v 1.1 1998/11/27 17:59:31 karypis Exp $
    6   */
    7  
    8 -/* Undefine the following #define in order to use short int as the idxtype */
    9 -#define IDXTYPE_INT
    10 -
    11 -/* Indexes are as long as integers for now */
    12 -#ifdef IDXTYPE_INT
    13 -typedef int idxtype;
    14 -#else
    15 -typedef short idxtype;
    16 -#endif
    17 +typedef long idxtype;
    18  
    19  #define MAXIDX (1<<8*sizeof(idxtype)-2)
    20  
Note: See TracChangeset for help on using the changeset viewer.