]> git.donarmstrong.com Git - lilypond.git/blobdiff - lib/duration-convert.cc
release: 0.1.48
[lilypond.git] / lib / duration-convert.cc
index 49db74195d657882323897161c6e735421cacecb..5947216cd5d673ac6fcedd83a903258b7839d54b 100644 (file)
@@ -114,8 +114,8 @@ Duration_convert::mom2_dur (Moment mom)
   //   Moment as_plet_mom = mom / dur.mom ();
   Moment as_plet_mom = mom / dur.length ();
   as_plet_mom *= dur.plet_.mom ();
-  long num = as_plet_mom.numerator ().as_long ();
-  long den = as_plet_mom.denominator ().as_long ();
+  long num = as_plet_mom.num ();
+  long den = as_plet_mom.den ();
   dur.set_plet (num, den);
   return dur;
 }