提交 04fd4515 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Make the csm_unsorted matrix a bit bigger to avoid accidentaly sorted indices.

上级 77daa7eb
......@@ -1029,7 +1029,7 @@ class test_csm(unittest.TestCase):
z = tensor.ivector()
s = tensor.ivector()
# Sparse advanced indexing produces unsorted sparse matrices
a = sparse_random_inputs(format, (4, 3), out_dtype=dtype,
a = sparse_random_inputs(format, (8, 6), out_dtype=dtype,
unsorted_indices=True)[1][0]
# Make sure it's unsorted
assert not a.has_sorted_indices
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论