]> git.donarmstrong.com Git - lilypond.git/blobdiff - flower/rational.cc
Run `make grand-replace'.
[lilypond.git] / flower / rational.cc
index 6046374630bf7e964de4a1c0070e6a44e49c54af..a1a87fb29e808b12dea0627cb23e9abb1287e524 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the Flower Library
 
-  (c) 1997--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 1997--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "rational.hh"
@@ -76,6 +76,13 @@ Rational::Rational (I64 n)
   den_ = 1;
 }
 
+Rational::Rational (U64 n)
+{
+  sign_ = 1;
+  num_ = n;
+  den_ = 1;
+}
+
 Rational::Rational (int n)
 {
   sign_ = ::sign (n);