]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/beam-quanting.cc
Issue4141/2: Use Xxx:is_smob instead of Xxx:unsmob when used in boolean contexts
[lilypond.git] / lily / beam-quanting.cc
index c73f91fbc828580c3276c69a61fc1da487ec7e9f..ab98dd50bce9589f56ea6e0de7da096df53eb658 100644 (file)
@@ -371,7 +371,7 @@ void Beam_scoring_problem::init_instance_variables (Grob *me, Drul_array<Real> y
                          - my_y;
 
           Real factor = parameters_.STEM_COLLISION_FACTOR;
-          if (!Grob::unsmob (s->get_object ("beam")))
+          if (!Grob::is_smob (s->get_object ("beam")))
             factor = 1.0;
           add_collision (x, y, factor);
         }