Skip to content

Commit

Permalink
tests : fix compile warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Nov 25, 2024
1 parent b756441 commit f6d12e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test-quantize-fns.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ static float dot_product(const float * a1, const float * a2, size_t test_size) {
}

// Total dot product error
static float dot_product_error(
const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float *test_data2
) {
static float dot_product_error(const ggml_type_traits * qfns, const ggml_type_traits_cpu * qfns_cpu, size_t test_size, const float * test_data1, const float * test_data2) {
GGML_UNUSED(qfns);

std::vector<uint8_t> tmp_q1(2*test_size);
std::vector<uint8_t> tmp_q2(2*test_size);

Expand Down

0 comments on commit f6d12e7

Please sign in to comment.