diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-11-03 15:10:26 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-11-03 15:10:26 -0400 |
commit | cf10131df6b18ebb31a341f00be47273eaf51da5 (patch) | |
tree | cfb7dd8a75bdf94b7da1bd8f4836f150ddd3ad96 /libdimension | |
parent | 111a5646d12cca087d500554340f03b8aceea54f (diff) | |
download | dimension-cf10131df6b18ebb31a341f00be47273eaf51da5.tar.xz |
Fix ++i/--i thinko.
Diffstat (limited to 'libdimension')
-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 5dde4e9..dc4cb6a 100644 --- a/libdimension/polynomial.c +++ b/libdimension/polynomial.c @@ -25,7 +25,7 @@ static inline size_t dmnsn_real_degree(const double poly[], size_t degree) { - for (ssize_t i = degree; i >= 0; ++i) { + for (ssize_t i = degree; i >= 0; --i) { if (fabs(poly[i]) >= dmnsn_epsilon) { return i; } |