From 8c76af18067601a90bcddb8a9b17df69ba8c825e Mon Sep 17 00:00:00 2001 From: Jonas Trappenberg Date: Tue, 20 Jan 2015 20:26:11 -0800 Subject: [PATCH] Remove premature optimization in float comparison --- include/lmms_basics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/lmms_basics.h b/include/lmms_basics.h index 082415124..a0c8274d4 100644 --- a/include/lmms_basics.h +++ b/include/lmms_basics.h @@ -99,7 +99,7 @@ inline float typeInfo::minEps() template<> inline bool typeInfo::isEqual( float x, float y ) { - if( unlikely( x == y ) ) + if( x == y ) { return true; }