diff --git a/ggml.c b/ggml.c index 3144cb4..327a520 100644 --- a/ggml.c +++ b/ggml.c @@ -2386,7 +2386,7 @@ struct ggml_tensor * ggml_repeat( result->op = GGML_OP_REPEAT; result->grad = is_node ? ggml_dup_tensor(ctx, result) : NULL; result->src0 = a; - result->src1 = NULL; + result->src1 = b; return result; }