Skip to content

Commit

Permalink
address type check error (closes #204)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpcouch committed Nov 1, 2023
1 parent bcdfa0b commit e5d3e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/blend_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ check_regularization <- function(x, arg) {
}

if (arg == "mixture") {
if (any(x < 0 || x > 1)) {
if (any(x < 0) || any(x > 1)) {
cli_abort("Please supply only values in [0, 1] to the {arg} argument.",
call = caller_env())
}
Expand Down

0 comments on commit e5d3e01

Please sign in to comment.