summaryrefslogtreecommitdiff
path: root/examples/cvector-generator/pca.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cvector-generator/pca.hpp')
-rw-r--r--examples/cvector-generator/pca.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cvector-generator/pca.hpp b/examples/cvector-generator/pca.hpp
index 6ec3141a..85be07dd 100644
--- a/examples/cvector-generator/pca.hpp
+++ b/examples/cvector-generator/pca.hpp
@@ -312,7 +312,7 @@ static void run_pca(
// prepare output vector
struct ggml_tensor * ctrl_out = v_output[il];
- ggml_format_name(ctrl_out, "direction.%ld", il+1);
+ ggml_format_name(ctrl_out, "direction.%zu", il+1);
// run power_iteration
params.i_layer = il;