Correct valid transpose values

This commit is contained in:
Malte Rosenbjerg 2020-02-27 22:31:32 +01:00
parent 21b35d349e
commit cdade1e73f

View file

@ -15,9 +15,9 @@ public TransposeArgument() { }
public TransposeArgument(int transpose) : base(transpose)
{
if (transpose < 0 || transpose > 5)
if (transpose < 0 || transpose > 3)
{
throw new ArgumentException("Argument is outside range (0 - 5)", nameof(transpose));
throw new ArgumentException("Argument is outside range (0 - 3)", nameof(transpose));
}
}