COIN-OR::LEMON - Graph Library

Changeset 2393:5e5ca8ac5a8f in lemon-0.x for lemon


Ignore:
Timestamp:
03/06/07 17:57:15 (13 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3224
Message:

Bug fix
from Kovacs Peter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/bellman_ford.h

    r2391 r2393  
    525525    /// - The distance of each node from the root(s).
    526526    bool checkedStart() {
    527       int num = countNodes(*graph) - 1;
     527      int num = countNodes(*graph);
    528528      for (int i = 0; i < num; ++i) {
    529529        if (processNextWeakRound()) return true;
Note: See TracChangeset for help on using the changeset viewer.