Skip to content

Commit

Permalink
Fix formatting/position arg
Browse files Browse the repository at this point in the history
  • Loading branch information
jacketsj committed Oct 9, 2024
1 parent 512ae62 commit 46031e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/python/lance/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -1723,7 +1723,7 @@ def create_index(
kmeans,
batch_size=20480,
num_sub_vectors=num_sub_vectors_cur,
disable_null_filter,
disable_null_filter=disable_null_filter,
)
timers["ivf_assign:end"] = time.time()
ivf_assign_time = timers["ivf_assign:end"] - timers["ivf_assign:start"]
Expand Down
2 changes: 1 addition & 1 deletion python/python/lance/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ def compute_partitions(

null_filter = f"{column} is not null"
if disable_null_filter:
null_filter=None
null_filter = None
torch_ds = TorchDataset(
dataset,
batch_size=batch_size,
Expand Down

0 comments on commit 46031e6

Please sign in to comment.