Skip to content

Commit 33bdb62

Browse files
committed
ios : try to fix build
1 parent 6cc911a commit 33bdb62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llama.swiftui/llama.cpp.swift/LibLlama.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ func llama_batch_add(_ batch: inout llama_batch, _ id: llama_token, _ pos: llama
2424
actor LlamaContext {
2525
private var model: OpaquePointer
2626
private var context: OpaquePointer
27-
private var sampling: OpaquePointer
27+
private var sampling: llama_sampler
2828
private var batch: llama_batch
2929
private var tokens_list: [llama_token]
3030
var is_done: Bool = false

0 commit comments

Comments
 (0)