Skip to content

Commit

Permalink
Fix error in numpy typemap for 2D array input
Browse files Browse the repository at this point in the history
  • Loading branch information
adamreeve committed Jun 15, 2014
1 parent d3a9cab commit 1f08147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bindings/python/numpy.i
Expand Up @@ -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) ||
Expand Down

0 comments on commit 1f08147

Please sign in to comment.