diff --git a/R/check_residuals.R b/R/check_residuals.R index 86d918777..0dcfc9e56 100644 --- a/R/check_residuals.R +++ b/R/check_residuals.R @@ -41,7 +41,7 @@ check_residuals.performance_simres <- function(x, alternative <- match.arg(alternative) ts <- suppressWarnings( stats::ks.test( - stats::residuals(simulated_residuals), + stats::residuals(x), "punif", alternative = alternative, ...