Skip to content

Commit dd36a95

Browse files
authored
Merge pull request #588 from tidymodels/surv_dist
fix reference to dials distribution parameter
2 parents 1b6f8b9 + d6c9e5d commit dd36a95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/surv_reg_data.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set_model_arg(
1313
eng = "flexsurv",
1414
parsnip = "dist",
1515
original = "dist",
16-
func = list(pkg = "dials", fun = "dist"),
16+
func = list(pkg = "dials", fun = "surv_dist"),
1717
has_submodel = FALSE
1818
)
1919

@@ -88,7 +88,7 @@ set_model_arg(
8888
eng = "survival",
8989
parsnip = "dist",
9090
original = "dist",
91-
func = list(pkg = "dials", fun = "dist"),
91+
func = list(pkg = "dials", fun = "surv_dist"),
9292
has_submodel = FALSE
9393
)
9494

0 commit comments

Comments
 (0)