Skip to content

Commit fcd4d96

Browse files
fix wording in doc string
Co-authored-by: Micael Oliveira <micael.oliveira@anu.edu.au>
1 parent e78247f commit fcd4d96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/access/profiling/esmf_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def _update_flat_result(result: dict, stats_dict: dict, region: str):
157157
and result[pes][idx] == stats_dict[pes]
158158
and stats_dict[pets] == stats_dict[pes]
159159
):
160-
# new avg is weighted average using weight as the count
160+
# new avg is weighted average using count as the weight
161161
result[tavg][idx] = (result[tavg][idx] * result[count][idx] + stats_dict[tavg] * stats_dict[count]) / (
162162
result[count][idx] + stats_dict[count]
163163
)

0 commit comments

Comments
 (0)