Changeset 2842 for inundation/pymetis/long_idxtype.patch
- Timestamp:
- May 11, 2006, 1:26:48 PM (19 years ago)
- 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.h2 --- metis-4.0/Lib/struct.h 2006-05-05 13:35:37.000000000 +10003 +++ metis-4.0-new/Lib/struct.h 2006-05-05 15:33:22.000000000 +10004 @@ -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_INT10 -11 -/* Indexes are as long as integers for now */12 -#ifdef IDXTYPE_INT13 -typedef int idxtype;14 -#else15 -typedef short idxtype;16 -#endif17 +typedef long idxtype;18 19 #define MAXIDX (1<<8*sizeof(idxtype)-2)20
Note: See TracChangeset
for help on using the changeset viewer.