]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lookup.cc
Issue 2787: Sanitize usage of -DDEBUG, -DNDEBUG and assert
[lilypond.git] / lily / lookup.cc
index 6bd55bbc7d3826ced290d51bb8f0ff537e4a54c9..280b85bcfab09a193c2cd4fd386b70890a07b9cc 100644 (file)
@@ -244,7 +244,7 @@ Lookup::round_filled_polygon (vector<Offset> const &points,
 
   const Real epsilon = 0.01;
 
-#ifndef NDEBUG
+#ifdef DEBUG
   /* remove consecutive duplicate points */
   for (vsize i = 0; i < points.size (); i++)
     {