Skip to content

Commit

Permalink
#464: revert more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
cwschilly committed Oct 16, 2023
1 parent 42f89d1 commit 5c36275
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
12 changes: 5 additions & 7 deletions src/lbaf/Applications/LBAF_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,11 @@ def run(self):
raise SystemExit(1)

# Look for prescribed QOI bounds
qoi_request = [self.__parameters.rank_qoi]
qoi_request.append(
self.__parameters.work_model.get(
"parameters").get(
"upper_bounds", {}).get(
self.__parameters.rank_qoi))
qoi_request.append(self.__parameters.object_qoi)
qoi_request = [
self.__parameters.rank_qoi,
self.__parameters.work_model.get("parameters", {}).get("upper_bounds", {}).get(self.__parameters.rank_qoi),
self.__parameters.object_qoi
]

# Instantiate and execute visualizer
visualizer = Visualizer(
Expand Down
2 changes: 1 addition & 1 deletion src/lbaf/Execution/lbsInformAndTransferAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def execute(self, p_id: int, phases: list, distributions: dict, statistics: dict
# Compute and report iteration work statistics
stats = print_function_statistics(
self._rebalanced_phase.get_ranks(),
lambda x: self._work_model.compute(x), # pylint:disable=W0108:unnecessary-lambda
self._work_model.compute,
f"iteration {i + 1} rank work",
self._logger)

Expand Down

0 comments on commit 5c36275

Please sign in to comment.