diff --git a/pystencils/simp/assignment_collection.py b/pystencils/simp/assignment_collection.py index fd5c827113ceb776defdcd8cb2ff95bddb293950..ce9f1c9fecaafb62a2f34789fdec5e7a02c537ef 100644 --- a/pystencils/simp/assignment_collection.py +++ b/pystencils/simp/assignment_collection.py @@ -111,6 +111,7 @@ class AssignmentCollection: "Not in SSA form - same symbol assigned multiple times" return bound_symbols_set + @property def free_fields(self): """All fields accessed in the assignment collection, which do not occur as left hand sides in any assignment.""" return {s.field for s in self.free_symbols if hasattr(s, 'field')}