From f554608841a95ab3f83648aff11a3040ebcd8229 Mon Sep 17 00:00:00 2001 From: Gilles Sadowski Date: Mon, 19 Dec 2022 00:58:55 +0100 Subject: [PATCH] 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);