From 454e322ddb2f784d7bb0be302ebdab0993e39ec9 Mon Sep 17 00:00:00 2001 From: jjceresa Date: Fri, 4 Oct 2019 14:09:59 +0200 Subject: [PATCH] Make float_equal true float compare --- test/test_modulator_amount.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/test_modulator_amount.c b/test/test_modulator_amount.c index 44343f28..3568ca0a 100644 --- a/test/test_modulator_amount.c +++ b/test/test_modulator_amount.c @@ -19,8 +19,6 @@ void fluid_voice_add_mod_local(fluid_voice_t *voice, fluid_mod_t *mod, int mode, int float_equal(fluid_real_t x, fluid_real_t y) { - static const fluid_real_t EPS = 1.e-5; - return FLUID_FABS(x - y) < EPS; return ( x == y ); }