[Lemon-commits] deba: r3482 - lemon/trunk/lemon
Lemon SVN
svn at lemon.cs.elte.hu
Tue Mar 25 17:28:07 CET 2008
Author: deba
Date: Tue Mar 25 17:28:06 2008
New Revision: 3482
Modified:
lemon/trunk/lemon/planarity.h
Log:
Minor bug fix
Modified: lemon/trunk/lemon/planarity.h
==============================================================================
--- lemon/trunk/lemon/planarity.h (original)
+++ lemon/trunk/lemon/planarity.h Tue Mar 25 17:28:06 2008
@@ -2549,7 +2549,7 @@
///
/// Returns the color of the node. The values are five or six
/// distinct \ref lemon::Color "colors".
- int color(const Node& node) const {
+ Color color(const Node& node) const {
return _palette[_color_map[node]];
}
@@ -2664,7 +2664,7 @@
/// \brief Calculates a coloring with at most five colors
///
/// This function calculates a coloring with at most five
- /// colors. The wirst case time complexity of this variant is
+ /// colors. The worst case time complexity of this variant is
/// quadratic in the size of the graph.
template <typename EmbeddingMap>
void runFiveColoring(const EmbeddingMap& embedding) {
More information about the Lemon-commits
mailing list