Make sure statepoint context manager closes linked summary

This commit is contained in:
Paul Romano 2018-04-20 14:02:48 -05:00
parent 65095096f9
commit 73b50e1e17

View file

@ -150,6 +150,8 @@ class StatePoint(object):
def __exit__(self, *exc):
self._f.close()
if self._summary is not None:
self._summary._f.close()
@property
def cmfd_on(self):