Skip to content

Commit 1e2df89

Browse files
committed
fix default value of digits
1 parent 18199d8 commit 1e2df89

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

R/predict_crwidth.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ predict_crwidth <- function(tree_list, digits = 1) {
6464
stop("'tree_list$DIA' cannot have missing values", call. = FALSE)
6565

6666
if (is.null(digits))
67-
digits <- 2
67+
digits <- 1
6868

6969
cw <- rep_len(NA_real_, nrow(tree_list))
7070

0 commit comments

Comments
 (0)