Skip to content

Commit

Permalink
hotfix: more helpful message
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Funk committed Aug 2, 2024
1 parent ee4043d commit 06aef8f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/opts.R
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,9 @@ apply_default_tolerance <- function(dist, default_tolerance, tolerance_set) {
if (!is_constrained(dist)) {
message(
"Unconstrained distributon passed as a delay. ",
"Constraining with default tolerance ", default_tolerance
"Constraining with default tolerance ", default_tolerance, ".\n",
"To silence this message, specify delay distributions with `max` or ",
"`tolerance`."
)
attr(dist, "tolerance") <- default_tolerance
} else if (tolerance_set) {
Expand Down

0 comments on commit 06aef8f

Please sign in to comment.