COIN-OR::LEMON - Graph Library

Ticket #323: 323-bugfix-c67e235c832f.patch

File 323-bugfix-c67e235c832f.patch, 542 bytes (added by Peter Kovacs, 11 years ago)
  • lemon/suurballe.h

    # HG changeset patch
    # User Peter Kovacs <kpeter@inf.elte.hu>
    # Date 1255633397 -7200
    # Node ID c67e235c832ff2ceb8cb0dd46df952afb98867c8
    # Parent  71f9c1f0d80888cf5cad3aa809b84a4c77e7b5b3
    Bug fix in Suurballe (#323)
    
    diff --git a/lemon/suurballe.h b/lemon/suurballe.h
    a b  
    520520    ///
    521521    /// \pre \ref run() or \ref findPaths() must be called before using
    522522    /// this function.
    523     Path path(int i) const {
     523    const Path& path(int i) const {
    524524      return paths[i];
    525525    }
    526526