Browse Source

Fixed a compiler error when using the default constructor of dsp::IIR::Filter

tags/2021-05-28
hogliux 7 years ago
parent
commit
0d269763e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      modules/juce_dsp/processors/juce_IIRFilter_Impl.h

+ 1
- 1
modules/juce_dsp/processors/juce_IIRFilter_Impl.h View File

@@ -48,7 +48,7 @@ struct SnapToZeroHelper<SIMDRegister<Type>> { static void snap (SIMDRegiste
//==============================================================================
template <typename SampleType>
Filter<SampleType>::Filter()
: coefficients (new Coefficients<typename Filter<SampleType>::NumericType> (Coefficients<typename Filter<SampleType>::NumericType>::passThrough))
: coefficients (new Coefficients<typename Filter<SampleType>::NumericType> (1, 0, 1, 0))
{
reset();
}


Loading…
Cancel
Save