Skip to content

Commit

Permalink
Report the correct model that failed to fit in calc_Huntley2006().
Browse files Browse the repository at this point in the history
Thanks to @SalOehl for reporting the problem.
  • Loading branch information
mcol committed Dec 17, 2024
1 parent 51cd946 commit b53fe96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/calc_Huntley2006.R
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ calc_Huntley2006 <- function(
control = list(maxiter = settings$maxiter)), silent = TRUE)

if(inherits(fit_unfaded, "try-error"))
.throw_error("Could not fit simulated curve, check suitability of ",
.throw_error("Could not fit unfaded curve, check suitability of ",
"model and parameters")
}

Expand Down

0 comments on commit b53fe96

Please sign in to comment.