Skip to content

Commit b539927

Browse files
committed
Closes #810
1 parent 6b164dc commit b539927

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Core/Algorithms/Math/Tests/GetMatrixSliceAlgoTests.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,13 @@ TEST(GetMatrixSliceAlgoTests, CanGetColumnOrRowSparse)
9696

9797
for (int i = 0; i < m1->ncols(); ++i)
9898
{
99-
auto col = algo.runImpl(m1, i, true);
99+
EXPECT_THROW(algo.runImpl(m1, i, true), AlgorithmProcessingException);
100+
/* TODO: fix in #822
100101
SparseRowMatrix expected(m1->col(i));
101102
ASSERT_TRUE(col.get<0>() != nullptr);
102103
EXPECT_EQ(expected, *matrix_cast::as_sparse(col.get<0>()));
103104
EXPECT_EQ(m1->ncols() - 1, col.get<1>());
105+
*/
104106
}
105107
for (int i = 0; i < m1->nrows(); ++i)
106108
{

0 commit comments

Comments
 (0)