From 8a96d4c2aa8da5849ec54a90ce8ef0221a79eca2 Mon Sep 17 00:00:00 2001 From: xaedes Date: Tue, 29 Aug 2023 21:24:37 +0200 Subject: [PATCH] add missing argument 'int i0' to ggml_get_i32_nd & ggml_set_i32_nd header declarations --- ggml.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml.h b/ggml.h index 5d63dc0c3..c28f1bb67 100644 --- a/ggml.h +++ b/ggml.h @@ -677,8 +677,8 @@ extern "C" { GGML_API int32_t ggml_get_i32_1d(const struct ggml_tensor * tensor, int i); GGML_API void ggml_set_i32_1d(const struct ggml_tensor * tensor, int i, int32_t value); - GGML_API int32_t ggml_get_i32_nd(const struct ggml_tensor * tensor, int i1, int i2, int i3); - GGML_API void ggml_set_i32_nd(const struct ggml_tensor * tensor, int i1, int i2, int i3, int32_t value); + GGML_API int32_t ggml_get_i32_nd(const struct ggml_tensor * tensor, int i0, int i1, int i2, int i3); + GGML_API void ggml_set_i32_nd(const struct ggml_tensor * tensor, int i0, int i1, int i2, int i3, int32_t value); GGML_API float ggml_get_f32_1d(const struct ggml_tensor * tensor, int i); GGML_API void ggml_set_f32_1d(const struct ggml_tensor * tensor, int i, float value);