fixed indentation error

This commit is contained in:
Zoltán Vörös 2020-05-02 14:14:22 +02:00 committed by GitHub
parent 11188ad831
commit 734497f951
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,7 +16,7 @@ def normalized_rms(values):
return math.sqrt(samples_sum / len(values))
def normalized_rms_ulab(values):
# this function works with ndarrays only
# this function works with ndarrays only
minbuf = ulab.numerical.mean(values)
values = values - minbuf
samples_sum = ulab.numerical.sum(values * values)