We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0258d81 commit a7a5f6eCopy full SHA for a7a5f6e
1 file changed
faiss/impl/Panorama.cpp
@@ -66,7 +66,7 @@ Panorama::Panorama(
66
67
void Panorama::set_derived_values() {
68
FAISS_THROW_IF_NOT_MSG(n_levels > 0, "Panorama: n_levels must be > 0");
69
- FAISS_THROW_IF_NOT_MSG(n_nlevels <= d, "Panorama: n_levels must be <= d");
+ FAISS_THROW_IF_NOT_MSG(n_levels <= d, "Panorama: n_levels must be <= d");
70
this->d = code_size / sizeof(float);
71
this->level_width_floats = ((d + n_levels - 1) / n_levels);
72
this->level_width = this->level_width_floats * sizeof(float);
0 commit comments