Merge pull request #1179 from isorochan/master

Fix typo in fastAmplitude()
pull/1183/head
AlexandreRouma 2023-09-07 20:05:24 +02:00 zatwierdzone przez GitHub
commit a55d1d9c06
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -82,7 +82,7 @@ namespace dsp {
inline float fastAmplitude() {
float re_abs = fabsf(re);
float im_abs = fabsf(re);
float im_abs = fabsf(im);
if (re_abs > im_abs) { return re_abs + 0.4f * im_abs; }
return im_abs + 0.4f * re_abs;
}
@ -125,4 +125,4 @@ namespace dsp {
float l;
float r;
};
}
}