Replace lowest with min for int case

This commit is contained in:
Jan-Grimo Sobez
2020-02-17 08:14:59 +01:00
parent 98e7bfa10a
commit 2097d8ffed
+1 -1
View File
@@ -261,7 +261,7 @@ struct ColorFunctor {
}
inline result_type max() const {
result_type max_result = std::numeric_limits<result_type>::lowest();
result_type max_result = std::numeric_limits<result_type>::min();
typedef typename graph_traits< Graph >::vertex_iterator vertex_iter;
for(vertex_iter iter = vertices(graph).first; iter != vertices(graph).second; ++iter) {
max_result = std::max(max_result, this->operator()(*iter));