Author: fijal Branch: Changeset: r80266:e7ea0af5ce3e Date: 2015-10-16 11:48 +0200 http://bitbucket.org/pypy/pypy/changeset/e7ea0af5ce3e/
Log: grumble diff --git a/pypy/module/micronumpy/casting.py b/pypy/module/micronumpy/casting.py --- a/pypy/module/micronumpy/casting.py +++ b/pypy/module/micronumpy/casting.py @@ -39,8 +39,8 @@ return find_result_type(space, arrays_w, dtypes_w) @jit.look_inside_iff(lambda space, arrays_w, dtypes_w: - jit.loop_unrolling_heuristic(arrays_w) and - jit.loop_unrolling_heuristic(dtypes_w)) + jit.loop_unrolling_heuristic(arrays_w, len(arrays_w)) and + jit.loop_unrolling_heuristic(dtypes_w, len(dtypes_w))) def find_result_type(space, arrays_w, dtypes_w): # equivalent to PyArray_ResultType if len(arrays_w) == 1 and not dtypes_w: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit