Unverified 提交 2c19431b authored 作者: abergeron's avatar abergeron 提交者: GitHub

Merge pull request #6606 from abergeron/fix_csm

Make the csm_unsorted matrix a bit bigger to avoid accidentaly sorted indices
...@@ -1029,7 +1029,7 @@ class test_csm(unittest.TestCase): ...@@ -1029,7 +1029,7 @@ class test_csm(unittest.TestCase):
z = tensor.ivector() z = tensor.ivector()
s = tensor.ivector() s = tensor.ivector()
# Sparse advanced indexing produces unsorted sparse matrices # 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] unsorted_indices=True)[1][0]
# Make sure it's unsorted # Make sure it's unsorted
assert not a.has_sorted_indices assert not a.has_sorted_indices
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论