Skip to content

Commit

Permalink
Merge pull request facebookresearch#1006 from milvus-io/1.6.0
Browse files Browse the repository at this point in the history
Fix GPUSQ copyto bug
  • Loading branch information
wickedfoo authored Nov 1, 2019
2 parents 8bc0926 + 45639f6 commit 2cce2e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gpu/GpuIndexIVFScalarQuantizer.cu
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ GpuIndexIVFScalarQuantizer::copyTo(

GpuIndexIVF::copyTo(index);
index->sq = sq;
index->code_size = sq.code_size;
index->by_residual = by_residual;

InvertedLists* ivf = new ArrayInvertedLists(nlist, index->code_size);
Expand Down

0 comments on commit 2cce2e5

Please sign in to comment.