diff --git a/ptypy/core/ptycho.py b/ptypy/core/ptycho.py index 18fd22c74..61dc1ccd6 100644 --- a/ptypy/core/ptycho.py +++ b/ptypy/core/ptycho.py @@ -1151,7 +1151,7 @@ def restore_state(self, name="baseline", reformat_exit=True): S.data[:] = self.state_dict[name]["ob"].storages[ID].data for ID,S in self.exit.storages.items(): S.data[:] = self.state_dict[name]["ex"].storages[ID].data - self.runtime = self.state_dict[name]["runtime"] + self.runtime = self.state_dict[name]["runtime"].copy(depth=99) # Reformat/Recalculate exit waves if reformat_exit: