From 13e73fa386cd7843d7079ec7c162ef43d15097c4 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Thu, 30 Aug 2007 18:32:36 +0000 Subject: Update to 2Geom rev. 1113 (bzr r3622) --- src/2geom/sbasis-poly.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/2geom/sbasis-poly.cpp') diff --git a/src/2geom/sbasis-poly.cpp b/src/2geom/sbasis-poly.cpp index e0fa828f9..ff797920f 100644 --- a/src/2geom/sbasis-poly.cpp +++ b/src/2geom/sbasis-poly.cpp @@ -15,6 +15,8 @@ SBasis poly_to_sbasis(Poly const & p) { } Poly sbasis_to_poly(SBasis const & sb) { + if(sb.isZero()) + return Poly(); Poly S; // (1-x)x = -1*x^2 + 1*x + 0 Poly A, B; B.push_back(0); -- cgit v1.2.3