From dfcdae4a4af646e515daa49dc1546198b58cef20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anna=20Hedstr=C3=B6m?= Date: Sun, 24 Mar 2024 17:38:33 +0100 Subject: [PATCH] update from True to False in assert in inverse_estimation.py --- quantus/metrics/inverse_estimation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quantus/metrics/inverse_estimation.py b/quantus/metrics/inverse_estimation.py index 78688461..4b20bb43 100644 --- a/quantus/metrics/inverse_estimation.py +++ b/quantus/metrics/inverse_estimation.py @@ -241,7 +241,7 @@ def __call__( a_batch is not None ), "'a_batch' must be provided to run the inverse estimation." - assert self.metric_init.abs == True, ( + assert self.metric_init.abs == False, ( "To run the inverse estimation, you cannot set 'a_batch' to " "have positive attributions only. Set 'abs' param of the metric init to 'False'." )