Skip to content

Commit

Permalink
#386: fix error in brute BruteForceAlgorithm class
Browse files Browse the repository at this point in the history
  • Loading branch information
tlamonthezie committed Jun 6, 2023
1 parent 82c6f89 commit c8f9947
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lbaf/Execution/lbsBruteForceAlgorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from logging import Logger

from .lbsAlgorithmBase import AlgorithmBase
from ..Model.lbsPhase import Phase
from ..Utils.exception_handler import exc_handler


Expand Down Expand Up @@ -75,7 +74,7 @@ def execute(self, p_id: int, phases: list, distributions: dict, statistics: dict
objects = []

# Iterate over ranks
phase_ranks = phases.get_ranks()
phase_ranks = phases[0].get_ranks()
for rank in phase_ranks:
for o in rank.get_objects():
entry = {
Expand Down

0 comments on commit c8f9947

Please sign in to comment.