提交 11385f53 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix typo following code review.

上级 2c0ae639
......@@ -40,7 +40,7 @@ def to_gpuarray(x, copyif=False):
if copyif:
x = x.copy()
else:
raise ValueError("We where asked to don't copy memory, but the memory is not c contiguous.")
raise ValueError("We were asked to not copy memory, but the memory is not c contiguous.")
# Now x is always c contiguous
px = pycuda.gpuarray.GPUArray(x.shape, x.dtype, base=x, gpudata=x.gpudata)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论