Skip to content

Commit

Permalink
update from True to False in assert in inverse_estimation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annahedstroem authored Mar 24, 2024
1 parent 3ec97cc commit dfcdae4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quantus/metrics/inverse_estimation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'."
)
Expand Down

0 comments on commit dfcdae4

Please sign in to comment.