diff --git a/src/ansys/dpf/post/index.py b/src/ansys/dpf/post/index.py index d7a46976a..0ec0b0e69 100644 --- a/src/ansys/dpf/post/index.py +++ b/src/ansys/dpf/post/index.py @@ -152,7 +152,7 @@ def __init__( def _evaluate_values(self): """Evaluates the values of the MeshIndex.""" - if self._scoping_ref is not None: + if self._scoping_ref() is not None: self._values = self._scoping_ref().ids else: # Merge the fields container scoping