Skip to content

Commit

Permalink
Fix c test save interface
Browse files Browse the repository at this point in the history
  • Loading branch information
Ngalstyan4 committed Jan 30, 2024
1 parent 971fa6a commit e2378ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions c/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ void test_save_load(size_t const collection_size, size_t const dimensions) {
}

// Save and free the index
usearch_save(index, "usearch_index.bin", NULL, &error);
usearch_save(index, "usearch_index.bin", &error);
ASSERT(!error, error);
usearch_free(index, &error);
ASSERT(!error, error);
Expand Down Expand Up @@ -302,7 +302,7 @@ void test_view(size_t const collection_size, size_t const dimensions) {
}

// Save and free the index
usearch_save(index, "usearch_index.bin", NULL, &error);
usearch_save(index, "usearch_index.bin", &error);
ASSERT(!error, error);
usearch_free(index, &error);
ASSERT(!error, error);
Expand Down

0 comments on commit e2378ca

Please sign in to comment.