diff -r 91e2b6a4b96e -r 71f4bd3a9ae8 lemon/planarity.h --- a/lemon/planarity.h Thu Mar 20 16:57:12 2008 +0000 +++ b/lemon/planarity.h Tue Mar 25 16:28:06 2008 +0000 @@ -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 void runFiveColoring(const EmbeddingMap& embedding) {