From eee66c5ee71f0e0e39e07a9e8d128a43dae6172b Mon Sep 17 00:00:00 2001 From: Simon Giraudot Date: Tue, 7 Apr 2020 10:04:05 +0200 Subject: [PATCH] Fix outdated alpha expansion call --- Classification/include/CGAL/Classification/classify.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Classification/include/CGAL/Classification/classify.h b/Classification/include/CGAL/Classification/classify.h index 1b31e163a32..5b769865c86 100644 --- a/Classification/include/CGAL/Classification/classify.h +++ b/Classification/include/CGAL/Classification/classify.h @@ -379,12 +379,7 @@ namespace Classification { assigned_label[j] = nb_class_best; } -#ifdef CGAL_DO_NOT_USE_BOYKOV_KOLMOGOROV_MAXFLOW_SOFTWARE - CGAL::internal::Alpha_expansion_graph_cut_boost graphcut; -#else - CGAL::internal::Alpha_expansion_graph_cut_boykov_kolmogorov graphcut; -#endif - graphcut(edges, edge_weights, probability_matrix, assigned_label); + CGAL::alpha_expansion_graphcut (edges, edge_weights, probability_matrix, assigned_label); for (std::size_t i = 0; i < assigned_label.size(); ++ i) output[indices[sub][i]] = static_cast(assigned_label[i]);