Skip to content

Commit

Permalink
Ensure metrics_dict is reset
Browse files Browse the repository at this point in the history
  • Loading branch information
zoreoo committed Nov 4, 2024
1 parent e615e01 commit 5a0157e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipit/readers/otf2_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ def events_reader(self, rank_size):

# reset this as a metric event was not read
prev_metric_time = -1
metrics_dict = {metric_name: float("nan") for metric_name in metric_names}

"""
Below is code to read the primary information about the
Expand Down

0 comments on commit 5a0157e

Please sign in to comment.