提交 8e548628 authored 作者: Benjamin Scellier's avatar Benjamin Scellier 提交者: Benjamin Scellier

delete case numpy.__version__ <= '1.6.1'

上级 47e505f3
...@@ -5429,14 +5429,6 @@ class PermuteRowElements(Op): ...@@ -5429,14 +5429,6 @@ class PermuteRowElements(Op):
out[y] = x[:] out[y] = x[:]
else: else:
out[:] = x[y] out[:] = x[y]
if (numpy.__version__ <= '1.6.1' and
out.size != numpy.uint32(out.size)):
warnings.warn(
'Numpy versions 1.6.1 and below have a bug preventing '
'advanced indexing from correctly filling arrays that '
'are too big (>= 2^32 elements). It is possible that '
'out (%s), with shape %s, is not correctly filled.'
% (out, out.shape))
else: else:
xs0 = x.shape[0] xs0 = x.shape[0]
ys0 = y.shape[0] ys0 = y.shape[0]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论