Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: BubbleCal <[email protected]>
  • Loading branch information
BubbleCal committed Dec 3, 2024
1 parent 4c9ea83 commit 0d34f8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rust/lance/src/index/vector/pq.rs
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ impl VectorIndex for PQIndex {
}

async fn remap(&mut self, mapping: &HashMap<u64, Option<u64>>) -> Result<()> {
let num_vectors = self.row_ids.as_ref().unwrap().len();
let code = self

Check warning on line 314 in rust/lance/src/index/vector/pq.rs

View workflow job for this annotation

GitHub Actions / linux-arm

unused variable: `code`

Check warning on line 314 in rust/lance/src/index/vector/pq.rs

View workflow job for this annotation

GitHub Actions / linux-build (stable)

unused variable: `code`

Check warning on line 314 in rust/lance/src/index/vector/pq.rs

View workflow job for this annotation

GitHub Actions / linux-build (nightly)

unused variable: `code`
.code
.as_ref()
Expand Down

0 comments on commit 0d34f8b

Please sign in to comment.