diff --git a/src/simulator.cpp b/src/simulator.cpp index 0c78aa41..5a8c28e1 100644 --- a/src/simulator.cpp +++ b/src/simulator.cpp @@ -1,5 +1,3 @@ -#include "..\include\simulator.h" -#include "..\include\simulator.h" #include "../include/simulator.h" #include "../include/constants.h" @@ -48,7 +46,6 @@ Simulator::~Simulator() { assert(m_system == nullptr); assert(m_exhaustFlowStagingBuffer == nullptr); assert(m_delayFilters == nullptr); - assert(m_antialiasingFilters == nullptr); assert(m_dynoTorqueSamples == nullptr); } diff --git a/src/synthesizer.cpp b/src/synthesizer.cpp index 08ea92a5..e3ee5721 100644 --- a/src/synthesizer.cpp +++ b/src/synthesizer.cpp @@ -304,7 +304,7 @@ int16_t Synthesizer::renderAudio(int inputSample) { float v_in = f_p * dF_F_mix + f * r_mixed * (1 - dF_F_mix); - if (fpclassify(v_in) == FP_SUBNORMAL) { + if (std::fpclassify(v_in) == FP_SUBNORMAL) { v_in = 0; }