]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/stem.cc
* lily/tie-column.cc (set_manual_tie_configuration): new function.
[lilypond.git] / lily / stem.cc
index bd42bbb1e93e95b771158f1aa091a1b7f2accb48..06940e387f91426153e05f6837b6fc7d57183b21 100644 (file)
@@ -15,7 +15,8 @@
 
 #include "stem.hh"
 
-#include <math.h>              // rint
+#include <cmath>               // rint
+using namespace std;
 
 #include "lookup.hh"
 #include "directional-element-interface.hh"
@@ -608,7 +609,8 @@ Stem::width_callback (SCM e, SCM ax)
 
   if (is_invisible (me))
     r.set_empty ();
-  else if (unsmob_grob (me->get_object ("beam")) || abs (duration_log (me)) <= 2)
+  else if (unsmob_grob (me->get_object ("beam"))
+          || abs (duration_log (me)) <= 2)
     {
       r = Interval (-1, 1);
       r *= thickness (me) / 2;