Skip to content

Commit

Permalink
#474: clarify variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Nov 10, 2023
1 parent 2e99936 commit 1562be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lbaf/Applications/LBAF_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def __print_statistics(self, phase: Phase, phase_name: str):
lambda x: x.get_size(),
f"{phase_name} rank working memory",
self.__logger)
shared_memory = lbstats.print_function_statistics(
shared_memory_stats = lbstats.print_function_statistics(
phase.get_ranks(),
lambda x: x.get_shared_memory(),
f"{phase_name} rank shared memory",
Expand All @@ -327,7 +327,7 @@ def __print_statistics(self, phase: Phase, phase_name: str):
lambda x: x.get_max_memory_usage(),
f"{phase_name} maximum memory usage",
self.__logger)
if shared_memory.get_maximum():
if shared_memory_stats.get_maximum():
lbstats.print_function_statistics(
phase.get_ranks(),
lambda x: x.get_homed_blocks_ratio(),
Expand Down

0 comments on commit 1562be7

Please sign in to comment.