diff --git a/quantus/metrics/randomisation/model_parameter_randomisation.py b/quantus/metrics/randomisation/model_parameter_randomisation.py index 4991bf821..6d4bcac32 100644 --- a/quantus/metrics/randomisation/model_parameter_randomisation.py +++ b/quantus/metrics/randomisation/model_parameter_randomisation.py @@ -391,4 +391,4 @@ def compute_correlation_per_sample( return corr_coeffs def evaluate_batch(self, *args, **kwargs): - raise RuntimeError("This is unexpected.") + raise RuntimeError("`evaluate_batch` must never be called for `ModelParameterRandomisation`.")