diff --git a/macq/extract/model.py b/macq/extract/model.py index 875e6483..6c4d7180 100644 --- a/macq/extract/model.py +++ b/macq/extract/model.py @@ -147,10 +147,7 @@ def to_pddl( if not problem_filename: problem_filename = problem_name + ".pddl" - if ( - isinstance(list(self.fluents)[0], LearnedLiftedFluent) and - isinstance(list(self.actions)[0], LearnedLiftedAction) # fmt: skip - ): + if isinstance(list(self.actions)[0], LearnedLiftedAction): self.to_pddl_lifted( domain_name, problem_name, domain_filename, problem_filename )