Small bugfix in SLM

This commit is contained in:
Anne de Jong 2020-10-19 16:58:09 +02:00
parent 7e3c117ce1
commit 013bc479c7

View File

@ -113,9 +113,8 @@ class SLM:
# No filterbank, means we do only compute the overall values. This
# means that in case of include_overall, it creates two overall
# channels. That would be confusing, so we do not allow it.
if include_overall:
sos = sos_overall[np.newaxis,:]
self.nom_txt.append('overall')
sos = sos_overall[np.newaxis,:]
self.nom_txt.append('overall')
self.slm = pyxSlm(prefilter, sos,
fs, tw[0], level_ref_value)