diff --git a/westpy/relaxation.py b/westpy/relaxation.py index a727a4d..4100a21 100644 --- a/westpy/relaxation.py +++ b/westpy/relaxation.py @@ -445,7 +445,7 @@ def _compute_new_position(self): self.trust_radius = min(self.trust_radius_ini, self.nr_step_length) # else: - self.tr_min_hit = 0 + pass else: # a new bfgs step is done self.bfgs_iter = self.bfgs_iter + 1 @@ -637,7 +637,6 @@ def _compute_trust_radius(self): if self.tr_min_hit == 1: self._log("history already reset at previous step: stopping") self.tr_min_hit = 2 - exit() else: self.tr_min_hit = 1