diff --git a/modules/util/util.py b/modules/util/util.py index 0b6c36c93cd1b0385623c90ae3e65ad69882b389..10fab68dff353852cbeb83ad4582d20eb04788bb 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -534,9 +534,6 @@ def descale(data, param, mean_std_dict, copy=True): data *= (hi - lo) data += lo - data -= lo - data /= (hi - lo) - not_valid = np.isnan(data) data[not_valid] = 0