Fix saturation-change bug in updateState().

This commit is contained in:
Atgeirr Flø Rasmussen 2014-08-14 14:21:33 +02:00
parent cb2522314d
commit 69697adb04

View File

@ -1354,7 +1354,7 @@ namespace {
for (int c = 0; c < nc; ++c) { for (int c = 0; c < nc; ++c) {
if (ixw[c]) { if (ixw[c]) {
so[c] = so[c] / (1-sw[c]); so[c] = so[c] / (1-sw[c]);
sg[c] = sg[c] / (1-so[c]); sg[c] = sg[c] / (1-sw[c]);
sw[c] = 0; sw[c] = 0;
} }
} }