summaryrefslogtreecommitdiffstats
path: root/src/2geom/poly.cpp
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-07-04 04:56:42 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-07-04 04:56:42 +0000
commit0c1fbf80797d3f93dbfe0cc71277dcfcac168948 (patch)
treeaa7094d0843b7d477c22a8cb2b74187d2a1e7d96 /src/2geom/poly.cpp
parentFixed initialization order. (diff)
downloadinkscape-0c1fbf80797d3f93dbfe0cc71277dcfcac168948.tar.gz
inkscape-0c1fbf80797d3f93dbfe0cc71277dcfcac168948.zip
Poly::shifted: simplify to discard mention of handling negative argument value.
(bzr r6145)
Diffstat (limited to 'src/2geom/poly.cpp')
-rw-r--r--src/2geom/poly.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/2geom/poly.cpp b/src/2geom/poly.cpp
index 5f7663957..1b9b0e568 100644
--- a/src/2geom/poly.cpp
+++ b/src/2geom/poly.cpp
@@ -151,7 +151,6 @@ Poly divide(Poly const &a, Poly const &b, Poly &r) {
c.resize(k, 0.);
for(unsigned i = k; i >= l; i--) {
- assert(i >= 0);
double ci = r.back()/b.back();
c[i-l] += ci;
Poly bb = ci*b;