diff --git a/src/ImathTest/half_perf_test.cpp b/src/ImathTest/half_perf_test.cpp index ca75ec38..885388dc 100644 --- a/src/ImathTest/half_perf_test.cpp +++ b/src/ImathTest/half_perf_test.cpp @@ -23,13 +23,13 @@ #include -static const unsigned short imath_float_half_exp_table[1 << 9] = -#include "eLut.h" - using namespace IMATH_NAMESPACE; #ifdef IMATH_USE_HALF_LOOKUP_TABLE +static const unsigned short imath_float_half_exp_table[1 << 9] = +#include "eLut.h" + static inline float table_half_cast (const half& h) {