Skip to content

Commit 7000623

Browse files
committed
tests : fix gguf context use in same_tensor_data
1 parent e872097 commit 7000623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-gguf.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ static bool same_tensor_data(const struct ggml_context * orig, const struct ggml
10491049
}
10501050

10511051
t_orig = ggml_get_next_tensor(orig, t_orig);
1052-
t_read = ggml_get_next_tensor(orig, t_read);
1052+
t_read = ggml_get_next_tensor(read, t_read);
10531053
}
10541054
if (t_read) {
10551055
ok = false;

0 commit comments

Comments
 (0)