Skip to content

Commit

Permalink
Correct set vecOpt.lazy to lazyEmbedding.
Browse files Browse the repository at this point in the history
  • Loading branch information
callumbirks authored and snej committed Jun 21, 2024
1 parent 7d953d8 commit def4ffb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LiteCore/Database/CollectionImpl.hh
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ namespace litecore {
vecOpt.minTrainingCount = c4Opt.minTrainingSize;
vecOpt.maxTrainingCount = c4Opt.maxTrainingSize;
vecOpt.probeCount = c4Opt.numProbes;
vecOpt.lazy = c4Opt.lazy;
vecOpt.lazyEmbedding = c4Opt.lazy;
vecOpt.validate();
} else {
error::_throw(error::InvalidParameter, "Vector index requires options");
Expand Down

0 comments on commit def4ffb

Please sign in to comment.