Skip to content

Commit fd02895

Browse files
committed
zero weight case fix
1 parent 5c5fb65 commit fd02895

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/test/java/org/apache/sysds/test/component/matrix/SeqTableTest.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,22 +38,22 @@ public class SeqTableTest {
3838
CLALibRexpand.ALLOW_COMPRESSED_TABLE_SEQ = false; // allow the compressed tables.
3939
}
4040

41-
@Test(expected = DMLRuntimeException.class)
41+
@Test(expected = Exception.class)
4242
public void test_notSameDim() {
4343
MatrixBlock c = new MatrixBlock(20, 1, 0.0);
44-
LibMatrixReorg.fusedSeqRexpand(10, c, 0);
44+
LibMatrixReorg.fusedSeqRexpand(10, c, 1);
4545
}
4646

47-
@Test(expected = DMLRuntimeException.class)
47+
@Test(expected = Exception.class)
4848
public void test_toLow() {
4949
MatrixBlock c = new MatrixBlock(10, 1, -1.0);
50-
LibMatrixReorg.fusedSeqRexpand(10, c, 0);
50+
LibMatrixReorg.fusedSeqRexpand(10, c, 1);
5151
}
5252

53-
@Test(expected = DMLRuntimeException.class)
53+
@Test(expected = Exception.class)
5454
public void test_toManyColumn() {
5555
MatrixBlock c = new MatrixBlock(10, 2, -1.0);
56-
LibMatrixReorg.fusedSeqRexpand(10, c, 0);
56+
LibMatrixReorg.fusedSeqRexpand(10, c, 1);
5757
}
5858

5959
@Test

0 commit comments

Comments
 (0)