Skip to content

Commit

Permalink
Fix compilation errors with gccarmnoneeabi
Browse files Browse the repository at this point in the history
  • Loading branch information
jatinchowdhury18 committed Jun 3, 2023
1 parent 08bafd0 commit 53f6325
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/chowdsp_wdf/math/omega.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define OMEGA_H_INCLUDED

#include <algorithm>
#include <cstdint>
#include "sample_type.h"

namespace chowdsp
Expand Down Expand Up @@ -216,7 +217,7 @@ namespace Omega
template <>
CHOWDSP_WDF_MAYBE_UNUSED constexpr double exp_approx (double x)
{
x = std::max (-126.0, 1.442695040888963 * x);
x = std::max ((double) -126.0, 1.442695040888963 * x);

union
{
Expand Down

0 comments on commit 53f6325

Please sign in to comment.