fix logic error in BBT_Time::operator>=
This commit is contained in:
parent
2d6eaad775
commit
be831c6870
|
@ -68,7 +68,7 @@ struct LIBTEMPORAL_API BBT_Time
|
|||
|
||||
bool operator>= (const BBT_Time& other) const {
|
||||
return bars > other.bars ||
|
||||
(bars >= other.bars && beats >= other.beats) ||
|
||||
(bars >= other.bars && beats > other.beats) ||
|
||||
(bars >= other.bars && beats >= other.beats && ticks >= other.ticks);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user