Commit 44d54000 authored by multrus's avatar multrus
Browse files

adjust range check for alpha, e_step

parent e44e6d94
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -83,12 +83,12 @@ def esdru(
            "ESDRU condition only available for STEREO or BINAURAL output format"
        )

    if alpha <= 0.0 or alpha >= 1.0:
    if alpha < 0.0 or alpha > 1.0:
        raise Exception(
            "Alpha value is out of bounds. Please choose a value between 0.0 and 1.0."
        )

    if e_step <= 0.0 or e_step >= 1.0:
    if e_step < 0.0 or e_step > 1.0:
        raise Exception(
            "Step value is out of bounds. Please choose a value between 0.0 and 1.0."
        )