Skip to content

Commit

Permalink
[issue879] remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
roeger committed Feb 8, 2024
1 parent 9182878 commit b5977ed
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/translate/pddl_parser/parsing_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,8 +614,6 @@ def parse_init(context, alist):
initial_proposition_values, False)
initial_proposition_values[atom] = False
else:
if len(fact) < 1:
context.error(f"Expecting {SYNTAX_LITERAL} for atoms.")
atom = pddl.Atom(fact[0], fact[1:])
check_atom_consistency(context, atom,
initial_proposition_values, True)
Expand Down

0 comments on commit b5977ed

Please sign in to comment.