Remove std:: prefix for sinf for GCC 12 compatibility

This commit is contained in:
Bram Veenboer
2025-08-01 13:27:24 +00:00
parent b3a73ceb53
commit 404fbd3c02
3 changed files with 6 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ template <std::size_t NR_SAMPLES> struct LookupAVXBackend<NR_SAMPLES>::Impl {
void init() {
lookup.resize(NR_SAMPLES);
for (std::size_t i = 0; i < NR_SAMPLES; ++i) {
lookup[i] = std::sinf(i * (2.0f * float(M_PI) / NR_SAMPLES));
lookup[i] = sinf(i * (2.0f * float(M_PI) / NR_SAMPLES));
}
}