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 48 line context
... ...
@@ -499,37 +499,37 @@
499 499
    /// this function.
500 500
    const PotentialMap& potentialMap() const {
501 501
      return *_potential;
502 502
    }
503 503

	
504 504
    /// \brief Return the number of the found paths.
505 505
    ///
506 506
    /// This function returns the number of the found paths.
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)