Applied fix from #1382
This commit is contained in:
parent
5029dfed87
commit
78bbefec98
@ -644,6 +644,7 @@ void Index::save(const std::string& filename) const
|
|||||||
if( algo == FLANN_INDEX_LSH )
|
if( algo == FLANN_INDEX_LSH )
|
||||||
{
|
{
|
||||||
saveIndex_<LshIndex>(this, index, fout);
|
saveIndex_<LshIndex>(this, index, fout);
|
||||||
|
fclose(fout);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user