Skip to content

Commit 6c53224

Browse files
iboBggerganov
authored andcommitted
ggml : fix ggml_cast (ggml/973)
1 parent 7254cdf commit 6c53224

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ggml/src/ggml.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5818,6 +5818,7 @@ struct ggml_tensor * ggml_cast(
58185818

58195819
result->op = GGML_OP_CPY;
58205820
result->src[0] = a;
5821+
result->src[1] = result;
58215822

58225823
return result;
58235824
}

0 commit comments

Comments
 (0)