diff --git a/openmc/statepoint.py b/openmc/statepoint.py index fc4fc5ee1f..126d6b97e8 100644 --- a/openmc/statepoint.py +++ b/openmc/statepoint.py @@ -314,7 +314,7 @@ class StatePoint(object): @property def source_present(self): - return self._f['source_present'] > 0 + return self._f['source_present'].value > 0 @property def tallies(self):