Skip to content

Commit 4a487ea

Browse files
EAddariocompilade
andauthored
Use { and } around the conditionally-executed statement
Co-authored-by: compilade <[email protected]>
1 parent e3149a2 commit 4a487ea

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
@@ -703,7 +703,7 @@ void IMatrixCollector::save_imatrix(int32_t n_chunk) const {
703703
}
704704

705705
to_store.push_back(kv.first);
706-
if (activation_statistics()) data_size += GGML_PAD(ggml_tensor_overhead() + sizeof(float) * kv.second.activations.size(), GGML_MEM_ALIGN);
706+
if (activation_statistics()) { data_size += GGML_PAD(ggml_tensor_overhead() + sizeof(float) * kv.second.activations.size(), GGML_MEM_ALIGN); }
707707
data_size += GGML_PAD(ggml_tensor_overhead() + sizeof(float) * kv.second.values.size(), GGML_MEM_ALIGN);
708708
data_size += GGML_PAD(ggml_tensor_overhead() + sizeof(float) * kv.second.counts.size(), GGML_MEM_ALIGN);
709709
}

0 commit comments

Comments
 (0)