diff --git a/rosplane_tuning/src/autotune/optimizer.py b/rosplane_tuning/src/autotune/optimizer.py index 30129f5..bf2e8a3 100644 --- a/rosplane_tuning/src/autotune/optimizer.py +++ b/rosplane_tuning/src/autotune/optimizer.py @@ -109,7 +109,7 @@ def get_next_parameter_set(self, error): # Check if any of the new points are better if np.min(error) > self.prev_error: - self.reason = "Current iteration worst than previous." + self.reason = "Current iteration worse than previous." self.state = OptimizerState.TERMINATED return self.x.reshape(1, 2) self.prev_error = error.item(0) @@ -126,4 +126,3 @@ def get_next_parameter_set(self, error): else: # Process Terminated return self.x.reshape(1, 2) -