Skip to content

Commit f239392

Browse files
committed
Convert one unit test expression as suggested by the Matrix team
1 parent 7690009 commit f239392

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
* configure.ac: Support new location of generated config
1212
* configure: Idem
1313
* cleanup: Idem
14+
2022-10-19 Dirk Eddelbuettel <[email protected]>
15+
16+
* inst/tinytest/test_sparseConversion.R: Refine one conversion as
17+
suggested by the 'Matrix' team
1418

1519
2022-10-10 Dirk Eddelbuettel <[email protected]>
1620

inst/tinytest/test_sparseConversion.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ set.seed(27)
7878
IM1 <- as(sample(1:20, 100, replace=TRUE), "indMatrix")
7979
set.seed(27)
8080
IM2 <- as(sample(1:18, 100, replace=TRUE), "indMatrix")
81-
c12 <- crossprod(IM1,IM2)
81+
c12 <- as(crossprod(IM1,IM2), "CsparseMatrix")
8282
expect_equal(c12, asSpMat(c12))#, msg="dgC2dgC_3")
8383

8484
## [Matrix] p87 (dgCMatrix)

0 commit comments

Comments
 (0)