diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-10-26 20:07:41 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-10-26 20:07:41 -0400 |
commit | 61f7e103a7c432822052164283f8e2f248372875 (patch) | |
tree | 2a5965684e4b1c43e90906b53d337f69bfc73443 | |
parent | f4037352b04bb93bbd7eeaaf9facf10d450d03e5 (diff) | |
download | dimension-61f7e103a7c432822052164283f8e2f248372875.tar.xz |
Fix typo in comment.
-rw-r--r-- | libdimension/polynomial.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |