mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixes for templated code which could default-initialise a SIMDRegister object while expecting to get a zero-initialised value
This commit is contained in:
parent
8f02179bbf
commit
7dd8fa993e
5 changed files with 12 additions and 11 deletions
|
|
@ -153,7 +153,7 @@ void WindowingFunction<FloatType>::fillWindowingTables (FloatType* samples, size
|
|||
// DC frequency amplitude must be one
|
||||
if (normalize)
|
||||
{
|
||||
FloatType sum = {};
|
||||
FloatType sum (0);
|
||||
|
||||
for (size_t i = 0; i < size; ++i)
|
||||
sum += samples[i];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue