gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Bug fix in Suurballe (#323)
0 1 0
default
1 file changed with 1 insertions and 1 deletions:
↑ Collapse diff ↑
Ignore white space 32 line context
... ...
@@ -507,29 +507,29 @@
507 507
    ///
508 508
    /// \pre \ref run() or \ref findFlow() must be called before using
509 509
    /// this function.
510 510
    int pathNum() const {
511 511
      return _path_num;
512 512
    }
513 513

	
514 514
    /// \brief Return a const reference to the specified path.
515 515
    ///
516 516
    /// This function returns a const reference to the specified path.
517 517
    ///
518 518
    /// \param i The function returns the <tt>i</tt>-th path.
519 519
    /// \c i must be between \c 0 and <tt>%pathNum()-1</tt>.
520 520
    ///
521 521
    /// \pre \ref run() or \ref findPaths() must be called before using
522 522
    /// this function.
523
    Path path(int i) const {
523
    const Path& path(int i) const {
524 524
      return paths[i];
525 525
    }
526 526

	
527 527
    /// @}
528 528

	
529 529
  }; //class Suurballe
530 530

	
531 531
  ///@}
532 532

	
533 533
} //namespace lemon
534 534

	
535 535
#endif //LEMON_SUURBALLE_H
0 comments (0 inline)