[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2023-01-01 10:55:48 +00:00
parent 1dd96577b2
commit 53d8f69af0
1 changed files with 14 additions and 11 deletions

View File

@ -274,7 +274,10 @@ class ApproxMapping(ApproxBase):
else:
max_rel_diff = max(
max_rel_diff,
abs((approx_value.expected - other_value) / approx_value.expected),
abs(
(approx_value.expected - other_value)
/ approx_value.expected
),
)
different_ids.append(approx_key)