Skip to content

Commit d77ad17

Browse files
Remove unused constant to fix macOS build warning
MAX_QUANTIZATION_REFERENCE_ERROR was defined but never used, causing -Werror,-Wunused-const-variable build failure on macOS. Co-Authored-By: Alex Peng <[email protected]>
1 parent 68e3195 commit d77ad17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/test-conversion-accuracy.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#pragma warning(disable: 4244 4267) // possible loss of data
2020
#endif
2121

22-
constexpr float MAX_QUANTIZATION_REFERENCE_ERROR = 0.0001f;
2322
constexpr float MAX_QUANTIZATION_TOTAL_ERROR = 0.002f;
2423
constexpr float MAX_QUANTIZATION_TOTAL_ERROR_TERNARY = 0.01f;
2524
constexpr float MAX_QUANTIZATION_TOTAL_ERROR_2BITS = 0.0075f;

0 commit comments

Comments
 (0)