Correct valid transpose values

Former-commit-id: cdade1e73f
This commit is contained in:
Malte Rosenbjerg 2020-02-27 22:31:32 +01:00
parent 3ef90fa13f
commit 2809defe23

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));
}
}