Skip to content

Commit

Permalink
more default none
Browse files Browse the repository at this point in the history
  • Loading branch information
Aske-Rosted committed Oct 24, 2024
1 parent 19122e7 commit 1e9e45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graphnet/models/graphs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ def calculate_charge_weights(self, charge_index: int) -> np.ndarray:
)
return self._charge_weights

def add_counts(self, location: Optional[int]) -> np.ndarray:
def add_counts(self, location: Optional[int] = None) -> np.ndarray:
"""Add the counts of the sensor to the summarization features."""
self._add_column(np.log10(self._counts), location)
return self.clustered_x
Expand Down

0 comments on commit 1e9e45a

Please sign in to comment.