From 61f7e103a7c432822052164283f8e2f248372875 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 26 Oct 2010 20:07:41 -0400 Subject: Fix typo in comment. --- libdimension/polynomial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdimension/polynomial.c') diff --git a/libdimension/polynomial.c b/libdimension/polynomial.c index 41313bb..f361d38 100644 --- a/libdimension/polynomial.c +++ b/libdimension/polynomial.c @@ -82,7 +82,7 @@ dmnsn_improve_root(double poly[], size_t degree, double x) { double error; do { - /* Calculate the value of the polynomial and its derrivative at once */ + /* Calculate the value of the polynomial and its derivative at once */ double p = poly[degree], dp = 0.0; for (ssize_t i = degree - 1; i >= 0; --i) { dp = dp*x + p; -- cgit v1.2.3