diff --git a/src/core/note.rs b/src/core/note.rs index a8392be..9367ba8 100644 --- a/src/core/note.rs +++ b/src/core/note.rs @@ -418,7 +418,7 @@ impl Add for Note { // Basically, if we were already "on" the weird one (this is a perfect unision, or perfect octave, etc.), then we don't // do anything special. Otherwise, if we landed on on of these edge cases, then we need to adjust the octave. let mut special_octave = 0; - + if self.named_pitch != new_pitch { if new_pitch == NamedPitch::CFlat || new_pitch == NamedPitch::CDoubleFlat @@ -459,7 +459,7 @@ impl Sub for Note { // Basically, if we were already "on" the weird one (this is a perfect unision, or perfect octave, etc.), then we don't // do anything special. Otherwise, if we landed on on of these edge cases, then we need to adjust the octave. let mut special_octave = 0; - + if self.named_pitch != new_pitch { if new_pitch == NamedPitch::CFlat || new_pitch == NamedPitch::CDoubleFlat