From d6f1d70ebea2d6f4e413c0a50f8d29d4b0545f8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dlker=20Yaz?= Date: Thu, 23 Aug 2012 13:37:51 +0000 Subject: [PATCH] Fix (copy/paste error) --- .../include/CGAL/internal/Surface_mesh_segmentation/Filters.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Filters.h b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Filters.h index 5384dd4552a..d4b6123a5af 100644 --- a/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Filters.h +++ b/Surface_mesh_segmentation/include/CGAL/internal/Surface_mesh_segmentation/Filters.h @@ -133,7 +133,7 @@ public: neighbor_values.begin() + half_neighbor_count); median_sdf /= 2; } - smoothed_values.push_back(total_sdf_value / total_weight); + smoothed_values.push_back(median_sdf); } // put smoothed values back again to values pmap. std::size_t index = 0;