From 044fa497f3c89b48134e00455dd3035a49aa7fdf Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Thu, 19 Jan 2006 01:10:26 +0000 Subject: Fixed up PyArray_FromAny and friends for API --- recompile extensions... --- numpy/f2py/src/fortranobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/f2py/src') diff --git a/numpy/f2py/src/fortranobject.c b/numpy/f2py/src/fortranobject.c index d5da43a88..139fe40e8 100644 --- a/numpy/f2py/src/fortranobject.c +++ b/numpy/f2py/src/fortranobject.c @@ -628,7 +628,7 @@ PyArrayObject* array_from_pyobj(const int type_num, arr = (PyArrayObject *) \ PyArray_FromAny(obj,PyArray_DescrFromType(type_num), 0,0, ((intent & F2PY_INTENT_C)?CARRAY_FLAGS:FARRAY_FLAGS) \ - | FORCECAST ); + | FORCECAST, NULL); if (arr==NULL) return NULL; if (check_and_fix_dimensions(arr,rank,dims)) -- cgit v1.2.1