Skip to content

Commit 0e423ca

Browse files
authored
Fix incorrect constructor docstring for IndexScalarQuantizer
1 parent b0809a2 commit 0e423ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faiss/IndexScalarQuantizer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ struct IndexScalarQuantizer : IndexFlatCodes {
2929
/** Constructor.
3030
*
3131
* @param d dimensionality of the input vectors
32-
* @param M number of subquantizers
33-
* @param nbits number of bit per subvector index
32+
* @param qtype type of scalar quantizer (e.g., QT_4bit)
33+
* @param metric distance metric used for search (default: METRIC_L2)
3434
*/
3535
IndexScalarQuantizer(
3636
int d,

0 commit comments

Comments
 (0)