From 6bced29304c0947cf3450f44e78c408fc6b8233d Mon Sep 17 00:00:00 2001
From: Alejandro Lopez Gestoso <alopez@iri.upc.edu>
Date: Mon, 8 Feb 2021 10:13:26 +0100
Subject: [PATCH] Fixed some typos

---
 doc/gradient.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/gradient.md b/doc/gradient.md
index 8d4e0fe..b5771f8 100644
--- a/doc/gradient.md
+++ b/doc/gradient.md
@@ -19,10 +19,10 @@ bool compute(double max_func_error,unsigned int max_iter,double start_point,bool
 
 where:
 * **max_func_error**: is the maximum difference with the previous iteration to consider that the algorithm has found a solution.
-* **max_iter**: is the maximum number of iterations allowed to the algorihtm. If the solution is found before reacing this limit, the function will return immediatelly.
+* **max_iter**: is the maximum number of iterations allowed to the algorihtm. If the solution is found before reaching this limit, the function will return immediatelly.
 * **start_point**: is the start point of the algorithm. It may be usefull to avoid local minima of the desired function.
 * **beyond_limits**: an output flag that indicates that the solution found is one of the convergence limits set by the user.
-* **max**: an input flag to indicate whetehr to find the maximum (true) of the minimum (false) of the function. If not set, the default value is true.
+* **max**: an input flag to indicate whether to find the maximum (true) of the minimum (false) of the function. If not set, the default value is true.
 
 The convergence algorithm can end in several different ways:
 
-- 
GitLab