summaryrefslogtreecommitdiffstats
path: root/libdimension/polynomial.c
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-02-28 18:12:01 -0500
committerTavian Barnes <tavianator@gmail.com>2011-03-08 21:43:24 -0500
commit54a201552db7477aa04a625fd5bc938ad8c97800 (patch)
tree2d2ff2b2f092e3c603a5c65e3e777c823ddbb3a6 /libdimension/polynomial.c
parenta2bf45329a172d2c53594c64d27f1c15ac26796a (diff)
downloaddimension-54a201552db7477aa04a625fd5bc938ad8c97800.tar.xz
New DMNSN_HOT macro.
Diffstat (limited to 'libdimension/polynomial.c')
-rw-r--r--libdimension/polynomial.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/polynomial.c b/libdimension/polynomial.c
index 0c4168d..681f631 100644
--- a/libdimension/polynomial.c
+++ b/libdimension/polynomial.c
@@ -23,7 +23,7 @@
* Polynomials.
*/
-#include "dimension.h"
+#include "dimension-impl.h"
#include <math.h>
/** Get the real degree of a polynomial, ignoring leading zeros. */
@@ -394,7 +394,7 @@ dmnsn_solve_cubic(double poly[4], double x[3])
}
/* Uspensky's algorithm */
-size_t
+DMNSN_HOT size_t
dmnsn_solve_polynomial(const double poly[], size_t degree, double x[])
{
/* Copy the polynomial so we can be destructive */