From 95e931727a77ebc380bd04c287c0fa3d38444888 Mon Sep 17 00:00:00 2001 From: Chen Peng Date: Sun, 30 Aug 2026 01:50:36 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Foundation/c_Matrix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Foundation/c_Matrix.c b/Foundation/c_Matrix.c index 5329f67..688421a 100644 --- a/Foundation/c_Matrix.c +++ b/Foundation/c_Matrix.c @@ -181,7 +181,8 @@ c_err_t c_Matrix_Mul(c_Matrix_t* out, const c_Matrix_t* lhs, const c_Matrix_t* r /** * @brief 标量运算通用驱动核心(内部私有) */ -static c_err_t c_Matrix_ScalarCore(c_Matrix_t* out, const c_Matrix_t* in, const void* scalar, +C_STATIC_FORCE_INLINE +c_err_t c_Matrix_ScalarCore(c_Matrix_t* out, const c_Matrix_t* in, const void* scalar, c_Matrix_OpFn_t op, void* ud) { if (!out || !in || !scalar || !op) return C_ERR_PARAM; if (in->rows != out->rows || in->cols != out->cols || in->item_size != out->item_size) {