We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3d81b commit f7ec147Copy full SHA for f7ec147
hnswlib/hnswalg.h
@@ -105,8 +105,8 @@ class HierarchicalNSW : public AlgorithmInterface<dist_t> {
105
if ( M <= 10000 ) {
106
M_ = M;
107
} else {
108
- std::cerr << "warning: M parameter exceeds 10000 which may lead to adverse effects." << std::endl;
109
- std::cerr << " Cap to 10000 will be applied for the rest of the processing." << std::endl;
+ HNSWERR << "warning: M parameter exceeds 10000 which may lead to adverse effects." << std::endl;
+ HNSWERR << " Cap to 10000 will be applied for the rest of the processing." << std::endl;
110
M_ = 10000;
111
}
112
maxM_ = M_;
0 commit comments