From b5977edda686791c9f995a96664fda455b403735 Mon Sep 17 00:00:00 2001 From: Gabriele Roeger Date: Thu, 8 Feb 2024 20:39:18 +0100 Subject: [PATCH] [issue879] remove unnecessary code --- src/translate/pddl_parser/parsing_functions.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/translate/pddl_parser/parsing_functions.py b/src/translate/pddl_parser/parsing_functions.py index a0f263f400..e21e81b9d3 100644 --- a/src/translate/pddl_parser/parsing_functions.py +++ b/src/translate/pddl_parser/parsing_functions.py @@ -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)