]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/prob.cc
Issue 2787: Sanitize usage of -DDEBUG, -DNDEBUG and assert
[lilypond.git] / lily / prob.cc
index 37dad6246b34a00b2e0d3019ef0322849168ce85..a7245c653f5565f847d39d83ddb85f49559729f4 100644 (file)
@@ -141,7 +141,7 @@ Prob::print_smob (SCM port, scm_print_state *)
 SCM
 Prob::internal_get_property (SCM sym) const
 {
-#ifndef NDEBUG
+#ifdef DEBUG
   if (profile_property_accesses)
     note_property_access (&prob_property_lookup_table, sym);
 #endif