Ignore:
Timestamp:
May 5, 2006, 4:27:36 PM (17 years ago)
Author:
jack
Message:

Update to use long as the index type. Needs verification on 32-bit
machines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pymetis/pymetis/metis.c

    r2071 r2806  
    33
    44/* This must be the same as the metis idxtype */
    5 typedef int idxtype;
     5typedef long idxtype;
    66
    77#include "bridge.h"
     
    6161    return NULL;
    6262
    63   elem_arr = (PyArrayObject *) PyArray_ContiguousFromObject(elements, PyArray_INT, 1, 1);
     63  elem_arr = (PyArrayObject *) PyArray_ContiguousFromObject(elements, PyArray_LONG, 1, 1);
    6464
    6565  if(!elem_arr)
Note: See TracChangeset for help on using the changeset viewer.