COIN-OR::LEMON - Graph Library

Ticket #366: 1f2a734581f8.patch

File 1f2a734581f8.patch, 510 bytes (added by Balazs Dezso, 15 years ago)
  • lemon/bits/path_dump.h

    # HG changeset patch
    # User Gabor Retvari <retvari@tmit.bme.hu>
    # Date 1271017722 -7200
    # Node ID 1f2a734581f85bc001cc12ab13e3ecc31ecdf838
    # Parent  f58e01094738d5d3c6c1a3f6d7ed9f7ba68ba7b1
    Fix PredMapPath::empty() (#366)
    
    diff --git a/lemon/bits/path_dump.h b/lemon/bits/path_dump.h
    a b  
    4646    }
    4747
    4848    bool empty() const {
    49       return predMap[target] != INVALID;
     49      return predMap[target] == INVALID;
    5050    }
    5151
    5252    class RevArcIt {