Update model_param_init.py

This commit is contained in:
aufr33 2021-07-07 09:25:05 +03:00 committed by GitHub
parent 6a3a58e504
commit 4687ae6708
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,12 +55,6 @@ class ModelParameters(object):
else: else:
self.param = default_param self.param = default_param
if not 'mid_side' in self.param: for k in ['mid_side', 'mid_side_b', 'mid_side_b2', 'stereo_w', 'reverse']:
self.param['mid_side'] = False if not k in self.param:
self.param[k] = False
if not 'mid_side_b' in self.param:
self.param['mid_side_b'] = False
if not 'reverse' in self.param:
self.param['reverse'] = False