diff --git a/src/pdl/pdl_interpreter.py b/src/pdl/pdl_interpreter.py index 01e7ea4c4..168e781eb 100644 --- a/src/pdl/pdl_interpreter.py +++ b/src/pdl/pdl_interpreter.py @@ -233,7 +233,7 @@ def __call__(self, *args, **kwargs): result, _, _ = execute_call( state, current_context, self, kwargs, self.pdl__location ) - return result + return result.result() ClosureBlock.model_rebuild()