diff --git a/src/TimingData.h b/src/TimingData.h index f29d3a6c87..09adc90205 100644 --- a/src/TimingData.h +++ b/src/TimingData.h @@ -529,7 +529,7 @@ public: * @param fBeat the beat that has a BPMSegment. * @return the BPMSegment in question. */ - BPMSegment& GetBPMSegmentAtBeat( float fBeat ) { return GetBPMSegmentAtBeat( BeatToNoteRow(fBeat)); } + BPMSegment& GetBPMSegmentAtBeat( float fBeat ) { return GetBPMSegmentAtRow( BeatToNoteRow(fBeat)); } /** * @brief Retrieve the index of the BPMSegments at the specified row. * @param iNoteRow the row that has a BPMSegment.