Skip to content

Commit

Permalink
Fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTaylor-TfN committed Mar 14, 2024
1 parent cbc1dc9 commit 56d483a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/caf/distribute/iterative_proportional_fitting.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,7 @@ def default_convergence(
max_conv = 0
for target, ach in zip(targets, achieved):
conv = np.max(abs((ach / target) - 1))
if conv > max_conv:
max_conv = conv
max_conv = max(max_conv, conv)

return max_conv

Expand Down

0 comments on commit 56d483a

Please sign in to comment.