lgautier / rpy2 (http://rpy.sourceforge.net/rpy2.html)

R from Python interface

Clone this repository (size: 1.8 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/lgautier/rpy2/
commit 673: 19b2fab9e2d9
parent 672: 4667b9a9f4be
branch: default
index variable is now of type Py_ssize_t (# noted in a bug report from batripler)
Laurent Gautier / lgautier
9 months ago

Changed (Δ7 bytes):

raw changeset »

rpy/rinterface/rinterface.c (1 lines added, 1 lines removed)

Up to file-list rpy/rinterface/rinterface.c:

@@ -3161,7 +3161,7 @@ newSEXP(PyObject *object, int rType)
3161
3161
  }
3162
3162
  const Py_ssize_t length = PySequence_Fast_GET_SIZE(seq_object);
3163
3163
3164
  int i;
3164
  Py_ssize_t i;
3165
3165
  switch(rType) {
3166
3166
  case REALSXP:
3167
3167
    PROTECT(sexp = NEW_NUMERIC(length));