Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Framba-Luca committed Jan 10, 2024
1 parent d4d4d07 commit 5a560f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions unified_planning/engines/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -532,10 +532,10 @@ def _get_engine_class(
)
if optimality_guarantee is not None:
assert issubclass(EngineClass, OneshotPlannerMixin)
x.append(str(EngineClass.guarantees(optimality_guarantee)))
x.append(str(EngineClass.satisfies(optimality_guarantee)))
elif anytime_guarantee is not None:
assert issubclass(EngineClass, AnytimePlannerMixin)
x.append(EngineClass.ensures(anytime_guarantee))
x.append(str(EngineClass.ensures(anytime_guarantee)))

planners_features.append(x)
if len(planners_features) > 0:
Expand Down

0 comments on commit 5a560f0

Please sign in to comment.