From 1f08147410f2283ab5ddfa55626cfedfd0298a47 Mon Sep 17 00:00:00 2001 From: Adam Reeve Date: Mon, 16 Jun 2014 10:00:06 +1200 Subject: [PATCH] Fix error in numpy typemap for 2D array input --- bindings/python/numpy.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/numpy.i b/bindings/python/numpy.i index 14fc6b92..0d1724a5 100644 --- a/bindings/python/numpy.i +++ b/bindings/python/numpy.i @@ -908,7 +908,7 @@ (PyArrayObject* array=NULL, int is_new_object=0) { npy_intp size[2] = { -1, -1 }; - array = obj_to_array_contiguous_allow_conversion($input, + array = obj_to_array_fortran_allow_conversion($input, DATA_TYPECODE, &is_new_object); if (!array || !require_dimensions(array, 2) ||