]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/duration.cc
release: 1.5.7
[lilypond.git] / lily / duration.cc
index 38cb80f6ca1ae2ba244239255d77e3b803c190e6..1a0273850db88f4fbd81aeb6569c7afea6513237 100644 (file)
@@ -71,7 +71,7 @@ String
 Duration::str () const
 {
   String s =  to_str (durlog_i_) + to_str ('.', dots_i_);
-  if (factor_ != Moment (1,1))
+  if (factor_ != Moment (Rational (1,1)))
     {
       s += "*" + factor_.str ();
     }