]> git.donarmstrong.com Git - lilypond.git/commitdiff
Fix inspect-quants for Beam.
authorHan-Wen Nienhuys <hanwen@lilypond.org>
Mon, 28 Feb 2011 12:46:17 +0000 (09:46 -0300)
committerHan-Wen Nienhuys <hanwen@lilypond.org>
Mon, 28 Feb 2011 13:10:54 +0000 (10:10 -0300)
lily/beam-quanting.cc

index 689fd218bf616558a4964ff00f2f33bc01f8a3e4..db9b1c1b5568f3412e7c170999c46c3b6907f63d 100644 (file)
@@ -453,8 +453,7 @@ Beam_scoring_problem::solve () const {
   bool debug =
     to_boolean (beam->layout ()->lookup_variable (ly_symbol2scm ("debug-beam-scoring")));
   SCM inspect_quants = beam->get_property ("inspect-quants");
-  if (to_boolean (beam->layout ()->lookup_variable (ly_symbol2scm ("debug-beam-scoring")))
-      && scm_is_pair (inspect_quants))
+  if (scm_is_pair (inspect_quants)) 
     {
       debug = true;
       best = force_score (inspect_quants, configs);