COIN-OR::LEMON - Graph Library

Custom Query (545 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (181 - 183 of 545)

Ticket Resolution Summary Owner Reporter
#366 fixed Bug in PredMapPath::empty() Balazs Dezso Alpar Juttner
Description

Dear all,

I think the below behavior of PredMapPath::empty() makes more sense.

Regards, Gabor

################

# HG changeset patch
# User retvari@everything
# Date 1271017722 -7200
# Node ID 6e741754566a2075505527319b57862baf59931f
# Parent  6dd226d3dcbaa9f7474a9b9f445f1c617d65d481
Fix PredMapPath::empty()

diff --git a/lemon/bits/path_dump.h b/lemon/bits/path_dump.h
--- a/lemon/bits/path_dump.h
+++ b/lemon/bits/path_dump.h
@@ -49,7 +49,7 @@
     }
 
     bool empty() const {
-      return predMap[target] != INVALID;
+      return predMap[target] == INVALID;
     }
 
     class RevArcIt {
#388 fixed Can't build without compiling the tests using CMAKE Akos Ladanyi Alpar Juttner
Description

Using CMAKE, I see no way to switch of the compilations of the test codes. Which is actually the default choice with automake.

Any extra compilation test is a plus, but this makes a simple build with CMAKE very slow.

#389 done version tag set by CMAKE is less fancy than the automake setting Akos Ladanyi Alpar Juttner
Description

Using the automake build environment the version tag is something like 503.24b3f18ed9e2, where 24b3f18ed9e2 is the hash id and 503 is a number that is strictly increasing if a version is a descendant of another. This version tag is generated by scripts/chg-len.py.

On the other hand, CMAKE simply sets the hash id as a version string.

Note: See TracQuery for help on using queries.