Skip to content

Commit 59cdee2

Browse files
fix .at() problem in swig for test_fast_scan_ivf.py
Signed-off-by: Alexandr Guzhva <alexanderguzhva@gmail.com>
1 parent dcdf224 commit 59cdee2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

faiss/python/swigfaiss.swig

+3
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ namespace std {
286286
%template(RepeatVector) std::vector<faiss::Repeat>;
287287
%template(ClusteringIterationStatsVector) std::vector<faiss::ClusteringIterationStats>;
288288
%template(ParameterRangeVector) std::vector<faiss::ParameterRange>;
289+
%template(MaybeOwnedVectorUInt8Vector) std::vector<faiss::MaybeOwnedVector<uint8_t> >;
290+
%template(MaybeOwnedVectorInt32Vector) std::vector<faiss::MaybeOwnedVector<int32_t> >;
291+
%template(MaybeOwnedVectorFloat32Vector) std::vector<faiss::MaybeOwnedVector<float> >;
289292

290293
#ifndef SWIGWIN
291294
%template(OnDiskOneListVector) std::vector<faiss::OnDiskOneList>;

0 commit comments

Comments
 (0)