diff --git a/R/score.R b/R/score.R index 4616685..5fb4a76 100644 --- a/R/score.R +++ b/R/score.R @@ -96,7 +96,7 @@ score_forecast <- function(fit_samples, observations, scores = "all") { NA }, calibration = if(any(c("all", "calibration") %in% scores)) { - suppressWarnings(scoringutils::pit(obs, samples_matrix)$calibration) + suppressWarnings(scoringutils::pit(obs, samples_matrix)$p_value) }else{ NA },