Skip to content

Commit

Permalink
Fix filtering bounds to prevent equave duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
frostburn committed Jun 7, 2024
1 parent b5da96f commit dce6e2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ export class Scale {
const unison = this.equave.zeroed();
const intervals = this.intervals.filter(
interval =>
interval.compare(unison) >= 0 && interval.compare(this.equave) <= 0
interval.compare(unison) >= 0 && interval.compare(this.equave) < 0
);
return this.variant(intervals);
}
Expand Down

0 comments on commit dce6e2d

Please sign in to comment.