Skip to content

Commit

Permalink
run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jparismorgan committed Feb 29, 2024
1 parent 7779cc4 commit 4fab7d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/python/src/tiledb/vector_search/module.cc
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ static void declarePartitionedMatrix(
const std::string&, // id_uri
const std::vector<Indices_Type>&, // partition list to load
size_t,
bool>(), // upper_bound
bool>(), // upper_bound

py::keep_alive<1, 2>());
cls.def("load", &TMatrix::load);
Expand Down
8 changes: 4 additions & 4 deletions src/include/detail/ivf/index.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ int ivf_index(
size_t end_pos = 0,
size_t nthreads = 0,
uint64_t timestamp = 0) {
auto db =
tdbColMajorMatrix<T>(ctx, db_uri, 0, 0, start_pos, end_pos, 0, timestamp, true);
auto db = tdbColMajorMatrix<T>(
ctx, db_uri, 0, 0, start_pos, end_pos, 0, timestamp, true);
db.load();
std::vector<ids_type> external_ids;
if (external_ids_uri.empty()) {
Expand Down Expand Up @@ -262,8 +262,8 @@ int ivf_index(
size_t end_pos = 0,
size_t nthreads = 0,
uint64_t timestamp = 0) {
auto db =
tdbColMajorMatrix<T>(ctx, db_uri, 0, 0, start_pos, end_pos, 0, timestamp, true);
auto db = tdbColMajorMatrix<T>(
ctx, db_uri, 0, 0, start_pos, end_pos, 0, timestamp, true);
db.load();
return ivf_index<T, ids_type, centroids_type>(
ctx,
Expand Down

0 comments on commit 4fab7d1

Please sign in to comment.