COIN-OR::LEMON - Graph Library

Ticket #366: 707b699ee369.patch

File 707b699ee369.patch, 579 bytes (added by Balazs Dezso, 15 years ago)
  • lemon/bits/path_dump.h

    # HG changeset patch
    # User Balazs Dezso <deba@inf.elte.hu>
    # Date 1271073581 -7200
    # Node ID 707b699ee369cbd2c955ebd942d37bcd82850a80
    # Parent  b76809b785d8d85e7b392306516650e2d8f11fa4
    Fix PredMatrixMapPath::empty() (#366)
    
    diff -r b76809b785d8 -r 707b699ee369 lemon/bits/path_dump.h
    a b  
    123123    }
    124124
    125125    bool empty() const {
    126       return source != target;
     126      return predMatrixMap(source, target) == INVALID;
    127127    }
    128128
    129129    class RevArcIt {