From e1941f87f0ecf1a2b7057bb9c0d0c519184e30f9 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Sun, 15 Feb 2015 12:59:55 -0800 Subject: [PATCH] clipping bench: validate per geom --- benchmark/test_polygon_clipping.cpp | 40 +++++++++++++++-------------- 1 file changed, 21 insertions(+), 19 deletions(-) diff --git a/benchmark/test_polygon_clipping.cpp b/benchmark/test_polygon_clipping.cpp index 0c0639f6e..60687c056 100644 --- a/benchmark/test_polygon_clipping.cpp +++ b/benchmark/test_polygon_clipping.cpp @@ -115,9 +115,10 @@ public: { throw std::runtime_error("Failed to parse WKT"); } - unsigned count = 0; + bool valid = true; for (unsigned i=0;i