vinniefalco / DSPFilters

A Collection of Useful C++ Classes for Digital Signal Processing
1.87k stars 380 forks source link

Assertion failed: (m_numStages <= m_maxStages) #16

Open carlosbarbosamexico opened 10 years ago

carlosbarbosamexico commented 10 years ago

Im having a crash (SIGABRT), caused by the fail of this assertion:

void Cascade::setLayout (const LayoutBase& proto) { const int numPoles = proto.getNumPoles(); m_numStages = (numPoles + 1)/ 2; assert (m_numStages <= m_maxStages);

}

This happens when changing the filter cutoff frequency of a bandshelf filter.