Skip to content

Commit 163d0fc

Browse files
committed
oops
1 parent 8a5c2f7 commit 163d0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rvoice/fluid_iir_filter.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ extern "C" void fluid_iir_filter_init_table(fluid_real_t sample_rate)
6060
template<typename R>
6161
static R interp_lin(R y0, R y1, R x0, R x1, R x)
6262
{
63-
return std::fabs(x1 - x0 < 1) // do not interpolate, if difference is less than a single cent
63+
return std::fabs(x1 - x0) < 1 // do not interpolate, if difference is less than a single cent
6464
? y0
6565
: (y0 * (x1 - x) + y1 * (x - x0)) / (x1 - x0);
6666
}

0 commit comments

Comments
 (0)