From b98eca293c04fc25bfc9795b122fb58baffc736c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mael=20Rouxel-Labb=C3=A9?= Date: Tue, 14 Feb 2023 11:36:09 +0100 Subject: [PATCH] Fix leftover from a change in weight input format --- .../examples/Straight_skeleton_2/extrude_skeleton.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Straight_skeleton_2/examples/Straight_skeleton_2/extrude_skeleton.cpp b/Straight_skeleton_2/examples/Straight_skeleton_2/extrude_skeleton.cpp index f95faafd8db..5ee8d649e8c 100644 --- a/Straight_skeleton_2/examples/Straight_skeleton_2/extrude_skeleton.cpp +++ b/Straight_skeleton_2/examples/Straight_skeleton_2/extrude_skeleton.cpp @@ -771,12 +771,6 @@ std::tuple preprocess_weights(WeightRange& weights) { for(FT& w : contour_weights) { - if(w == 0) - { - std::cerr << "Error: null weight (null angle) is not a valid input" << std::endl; - return {Slope::UNKNOWN, false, FT(-1)}; - } - // '0' means a vertical slab, aka 90° angle (see preprocess_angles()) if(w == 0) continue;