From bd5d4e5d36392293eeb966cfdf4b68cca2099a9f Mon Sep 17 00:00:00 2001 From: Tim Dwyer Date: Thu, 26 Jan 2006 05:32:20 +0000 Subject: Fixed bug to do with comparison of invalid constraints in pairing heaps. Also numerical problem with constraint generation fixed. (bzr r30) --- src/removeoverlap/variable.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/removeoverlap/variable.h') 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; -- cgit v1.2.3