Skip to content

Commit f606403

Browse files
Merge branch 'main' into sparse-matrix-predict
2 parents 75498a3 + bc27e2b commit f606403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/sparsevctrs.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ is_sparse_tibble <- function(x) {
2222
}
2323

2424
materialize_sparse_tibble <- function(x, object, input) {
25-
if ((!allow_sparse(object)) && is_sparse_tibble(x)) {
25+
if (is_sparse_tibble(x) && (!allow_sparse(object))) {
2626
if (inherits(object, "model_fit")) {
2727
object <- object$spec
2828
}

0 commit comments

Comments
 (0)