diff --git a/pddl/parser/domain.py b/pddl/parser/domain.py index f791687..323c76a 100644 --- a/pddl/parser/domain.py +++ b/pddl/parser/domain.py @@ -207,7 +207,7 @@ def cond_effect(self, args): """Process the 'cond_effect' rule.""" if len(args) >= 3 and args[1] == Symbols.AND.value: p_effects = args[2:-1] - return AndEffect(p_effects) + return And(*p_effects) assert len(args) == 1 return args[0]