Skip to content

Commit

Permalink
fix(interpreted functions): compiler resulting kind adds object fluen…
Browse files Browse the repository at this point in the history
…ts if there are object assignments
  • Loading branch information
Samuel Gobbi committed Nov 20, 2024
1 parent c18e7d2 commit bed8b92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def resulting_problem_kind(
new_kind.unset_effects_kind("INTERPRETED_FUNCTIONS_IN_NUMERIC_ASSIGNMENTS")

Check warning on line 181 in unified_planning/engines/compilers/interpreted_functions_remover.py

View check run for this annotation

Codecov / codecov/patch

unified_planning/engines/compilers/interpreted_functions_remover.py#L181

Added line #L181 was not covered by tests
if new_kind.has_interpreted_functions_in_object_assignments():
new_kind.unset_effects_kind("INTERPRETED_FUNCTIONS_IN_OBJECT_ASSIGNMENTS")
# TODO set fluents objects ...
new_kind.set_fluents_type("OBJECT_FLUENTS")

Check warning on line 184 in unified_planning/engines/compilers/interpreted_functions_remover.py

View check run for this annotation

Codecov / codecov/patch

unified_planning/engines/compilers/interpreted_functions_remover.py#L183-L184

Added lines #L183 - L184 were not covered by tests

return new_kind

Expand Down

0 comments on commit bed8b92

Please sign in to comment.