Spaces:
Running
Running
Commit
·
c44d575
1
Parent(s):
ad3f29d
ggml : fix ggml_cast (ggml/973)
Browse files- ggml/src/ggml.c +1 -0
ggml/src/ggml.c
CHANGED
|
@@ -5818,6 +5818,7 @@ struct ggml_tensor * ggml_cast(
|
|
| 5818 |
|
| 5819 |
result->op = GGML_OP_CPY;
|
| 5820 |
result->src[0] = a;
|
|
|
|
| 5821 |
|
| 5822 |
return result;
|
| 5823 |
}
|
|
|
|
| 5818 |
|
| 5819 |
result->op = GGML_OP_CPY;
|
| 5820 |
result->src[0] = a;
|
| 5821 |
+
result->src[1] = result;
|
| 5822 |
|
| 5823 |
return result;
|
| 5824 |
}
|