diff --git a/ivas_processing_scripts/audiotools/wrappers/esdru.py b/ivas_processing_scripts/audiotools/wrappers/esdru.py index 10c1719c5a02348f2787fe2dd277da6076d3fb7f..d7fbd925778d1ab8c5ad33ec28cd7116ed7254f0 100755 --- a/ivas_processing_scripts/audiotools/wrappers/esdru.py +++ b/ivas_processing_scripts/audiotools/wrappers/esdru.py @@ -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." )