summaryrefslogtreecommitdiffstats
path: root/src/removeoverlap/variable.h
diff options
context:
space:
mode:
authorTim Dwyer <tgdwyer@gmail.com>2006-01-26 05:32:20 +0000
committertgdwyer <tgdwyer@users.sourceforge.net>2006-01-26 05:32:20 +0000
commitbd5d4e5d36392293eeb966cfdf4b68cca2099a9f (patch)
tree844ef674a2ce640ced96538258264f1e5003535c /src/removeoverlap/variable.h
parentfix silly bug - was unable to flip by scaling (diff)
downloadinkscape-bd5d4e5d36392293eeb966cfdf4b68cca2099a9f.tar.gz
inkscape-bd5d4e5d36392293eeb966cfdf4b68cca2099a9f.zip
Fixed bug to do with comparison of invalid constraints in pairing heaps.
Also numerical problem with constraint generation fixed. (bzr r30)
Diffstat (limited to 'src/removeoverlap/variable.h')
-rw-r--r--src/removeoverlap/variable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/removeoverlap/variable.h b/src/removeoverlap/variable.h
index 492e7504a..e682dd7df 100644
--- a/src/removeoverlap/variable.h
+++ b/src/removeoverlap/variable.h
@@ -35,6 +35,8 @@ public:
: id(id)
, desiredPosition(desiredPos)
, weight(weight)
+ , offset(0)
+ , visited(false)
{
}
double position() const;