You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2022/12/19 00:00:00 UTC

[commons-math] branch master updated: Typo in userguide.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new f55460884 Typo in userguide.
f55460884 is described below

commit f554608841a95ab3f83648aff11a3040ebcd8229
Author: Gilles Sadowski <gi...@gmail.com>
AuthorDate: Mon Dec 19 00:58:55 2022 +0100

    Typo in userguide.
    
    Thanks to "0xflotus".
    Closes #228.
---
 src/site/xdoc/userguide/fitting.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/site/xdoc/userguide/fitting.xml b/src/site/xdoc/userguide/fitting.xml
index 369e38111..82eff1ea7 100644
--- a/src/site/xdoc/userguide/fitting.xml
+++ b/src/site/xdoc/userguide/fitting.xml
@@ -116,7 +116,7 @@ obs.add(-0.99, 2.221135431136975);
 obs.add(-0.98, 2.09985277659314);
 obs.add(-0.97, 2.0211192647627025);
 // ... Lots of lines omitted ...
-obs.addt(0.99, -2.4345814727089854);
+obs.add(0.99, -2.4345814727089854);
 
 // Instantiate a third-degree polynomial fitter.
 final PolynomialCurveFitter fitter = PolynomialCurveFitter.create(3);