Skip to content

Commit

Permalink
ran black
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran-Fishwick-TfN committed Sep 25, 2024
1 parent 10a3070 commit 6a7df03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/caf/distribute/gravity_model/multi_area.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,12 +231,9 @@ def __init__(

LOG.info(f"There are {num_zeros} 0s in {name} ({(num_zeros/data.size)*100} %)")



zero_in_both = np.stack([row_targets==0, col_targets==0], axis=1).all(axis=1).sum()
zero_in_both = np.stack([row_targets == 0, col_targets == 0], axis=1).all(axis=1).sum()

LOG.info(f"There are {zero_in_both} zones with both 0 row and column targets.")


self.row_targets = row_targets
self.col_targets = col_targets
Expand Down

0 comments on commit 6a7df03

Please sign in to comment.