Skip to content

Commit df1db12

Browse files
committedOct 6, 2020
is.disk.matrix now returns single logical
1 parent bbea6a4 commit df1db12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎R/disk-matrix-class.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ serialize.table <- function(file, ...) {
124124
#' @rdname disk.matrix
125125
#' @export
126126
is.disk.matrix <- function(x) {
127-
class(x) == "disk.matrix"
127+
"disk.matrix" %in% class(x)
128128
}
129129

130130
#' @rdname disk.matrix

0 commit comments

Comments
 (0)
Please sign in to comment.