From: fred Date: Sun, 24 Mar 2002 20:05:13 +0000 (+0000) Subject: lilypond-0.1.42 X-Git-Tag: release/1.5.59~3466 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=f227928578a35509c4b714bb3aea0bfa20033f9f;p=lilypond.git lilypond-0.1.42 --- diff --git a/lily/midi-def.cc b/lily/midi-def.cc index e7da659d19..0e85a4849f 100644 --- a/lily/midi-def.cc +++ b/lily/midi-def.cc @@ -53,7 +53,7 @@ void Midi_def::set_tempo (Moment one_beat_mom, int beats_per_minute_i) { Moment beats_per_second = Moment (beats_per_minute_i) / Moment (60); - whole_in_seconds_mom_ = 1/(beats_per_second * one_beat_mom); + whole_in_seconds_mom_ = Moment(1)/Moment(beats_per_second * one_beat_mom); } void