Skip to content

Commit

Permalink
fix(interpreted functions): minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Gobbi committed Sep 24, 2024
1 parent c1037d4 commit 21e4699
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions unified_planning/engines/interpreted_functions_planner.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ def _attempt_to_solve(
# print ("validation error")
# print (validation_result)
# print (validation_result.status)
retval = retval = PlanGenerationResult(
_refine(),
retval = _refine(
PlanGenerationResultStatus.INTERNAL_ERROR,
up.plans.SequentialPlan([]),
self.name,
log_messages=res.log_messages,
"pi prime is not valid for P",
)

return retval
Expand All @@ -215,6 +215,5 @@ def _attempt_to_solve(
return PlanGenerationResult(status, None, self.name)


def _refine():
status = PlanGenerationResultStatus.INTERNAL_ERROR
return status
def _refine(a, b, c, d):
return PlanGenerationResult(a, b, c, d)

0 comments on commit 21e4699

Please sign in to comment.