Skip to content

Commit 44ea7dd

Browse files
committed
Change statement order
1 parent 2e80323 commit 44ea7dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/imatrix/imatrix.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -938,9 +938,9 @@ bool IMatrixCollector::load_imatrix(const char * file_name) {
938938

939939
for (const auto & sc : sums_counts_for) {
940940
const std::string & name = sc.first;
941+
const struct ggml_tensor * in_sum = std::get<2>(sc.second);
941942
const struct ggml_tensor * in_sum2 = std::get<0>(sc.second);
942943
const struct ggml_tensor * counts = std::get<1>(sc.second);
943-
const struct ggml_tensor * in_sum = std::get<2>(sc.second);
944944

945945
if (!in_sum2 || !counts) {
946946
LOG_ERR("%s: mismatched sums and counts for %s\n", __func__, name.c_str());

0 commit comments

Comments
 (0)