diff --git a/demo/graph_to_eps_demo.cc b/demo/graph_to_eps_demo.cc --- a/demo/graph_to_eps_demo.cc +++ b/demo/graph_to_eps_demo.cc @@ -42,7 +42,7 @@ int main() { Palette palette; - Palette paletteW(-1,true); + Palette paletteW(true); ListDigraph g; typedef ListDigraph::Node Node; diff --git a/lemon/color.h b/lemon/color.h --- a/lemon/color.h +++ b/lemon/color.h @@ -119,7 +119,7 @@ ///\param have_white indicates whether white is amongst the ///provided color (\c true) or not (\c false). If it is true, ///white will be assigned to \c 0. - Palette(int num=-1,bool have_white=false) + Palette(bool have_white=false,int num=-1) { if (num==0) return; do {