summaryrefslogtreecommitdiffstats
path: root/src/2geom/poly.cpp
diff options
context:
space:
mode:
authorJF Barraud <jf.barraud@gmail.com>2009-03-09 01:47:39 +0000
committerjfbarraud <jfbarraud@users.sourceforge.net>2009-03-09 01:47:39 +0000
commitfffb14c92df4ff0efb9271708984c75ca12b30d6 (patch)
tree04a75637990939efdd4da28826357ff214bafc22 /src/2geom/poly.cpp
parentpart of bug #339660; can not use Add/Rename dialog to create layer with no pr... (diff)
downloadinkscape-fffb14c92df4ff0efb9271708984c75ca12b30d6.tar.gz
inkscape-fffb14c92df4ff0efb9271708984c75ca12b30d6.zip
2geom update
(bzr r7453)
Diffstat (limited to 'src/2geom/poly.cpp')
-rw-r--r--src/2geom/poly.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/2geom/poly.cpp b/src/2geom/poly.cpp
index d8b379557..30ec1cdb7 100644
--- a/src/2geom/poly.cpp
+++ b/src/2geom/poly.cpp
@@ -1,9 +1,8 @@
#include <2geom/poly.h>
-#define HAVE_GSL
-#ifdef HAVE_GSL
+//#ifdef HAVE_GSL
#include <gsl/gsl_poly.h>
-#endif
+//#endif
namespace Geom {
@@ -39,7 +38,7 @@ void Poly::monicify() {
}
-#ifdef HAVE_GSL
+//#ifdef HAVE_GSL
std::vector<std::complex<double> > solve(Poly const & pp) {
Poly p(pp);
p.normalize();
@@ -76,7 +75,7 @@ std::vector<double > solve_reals(Poly const & p) {
}
return real_roots;
}
-#endif
+//#endif
double polish_root(Poly const & p, double guess, double tol) {
Poly dp = derivative(p);