diff options
| author | Tim Dwyer <tgdwyer@gmail.com> | 2006-02-06 05:22:54 +0000 |
|---|---|---|
| committer | tgdwyer <tgdwyer@users.sourceforge.net> | 2006-02-06 05:22:54 +0000 |
| commit | 26764b3878c6aec5f315f9f63c8721640218b826 (patch) | |
| tree | 95545994301bc2fb624076245706d4aea8f8bca8 /src/removeoverlap/block.cpp | |
| parent | add scaling and translation so that the DXFs open properly in robomaster (diff) | |
| download | inkscape-26764b3878c6aec5f315f9f63c8721640218b826.tar.gz inkscape-26764b3878c6aec5f315f9f63c8721640218b826.zip | |
DBL_MIN replaced by -DBL_MAX which is what I meant all along.
Fixes bug.
(bzr r89)
Diffstat (limited to 'src/removeoverlap/block.cpp')
| -rw-r--r-- | src/removeoverlap/block.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/removeoverlap/block.cpp b/src/removeoverlap/block.cpp index ebf56ea9e..7a2ab53af 100644 --- a/src/removeoverlap/block.cpp +++ b/src/removeoverlap/block.cpp @@ -104,6 +104,9 @@ void Block::mergeIn(Block *b) { findMinInConstraint(); b->findMinInConstraint(); in->merge(b->in); +#ifdef RECTANGLE_OVERLAP_LOGGING + f<<" merged heap: "<<*in<<endl; +#endif } void Block::mergeOut(Block *b) { findMinOutConstraint(); @@ -171,6 +174,11 @@ Constraint *Block::findMinOutConstraint() { } void Block::deleteMinInConstraint() { in->deleteMin(); +#ifdef RECTANGLE_OVERLAP_LOGGING + ofstream f(LOGFILE,ios::app); + f<<"deleteMinInConstraint... "<<endl; + f<<" result: "<<*in<<endl; +#endif } void Block::deleteMinOutConstraint() { out->deleteMin(); |
