Skip to content

Commit

Permalink
fix: type check
Browse files Browse the repository at this point in the history
  • Loading branch information
AkiyukiOkayasu committed Nov 15, 2021
1 parent b1f398b commit 9ee11db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ame_Oscillator.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ constexpr auto makeSineTable()
template <typename FloatType>
class WavetableOscillator
{
static_assert (std::is_floating_point<FloatType>::value == false, "FloatType is must be floating point type.");
static_assert (std::is_floating_point<FloatType>::value == true, "FloatType is must be floating point type.");

public:
WavetableOscillator (const FloatType* wavetable, const uint32_t numSamples, const FloatType sampleRate)
Expand Down

0 comments on commit 9ee11db

Please sign in to comment.