Skip to content

Commit

Permalink
More GCC compilation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bobsayshilol committed Sep 30, 2022
1 parent 9f41bcc commit 6c4a327
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/simulator.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include "..\include\simulator.h"
#include "..\include\simulator.h"
#include "../include/simulator.h"

#include "../include/constants.h"
Expand Down Expand Up @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion src/synthesizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6c4a327

Please sign in to comment.