fixed LshIndex types in its constructor

This commit is contained in:
Maria Dimashova 2012-07-24 17:09:24 +04:00
parent 1efb3c8235
commit 54d68da8e7

View File

@ -90,9 +90,9 @@ public:
Distance d = Distance()) :
dataset_(input_data), index_params_(params), distance_(d)
{
table_number_ = get_param<int>(index_params_,"table_number",12);
key_size_ = get_param<int>(index_params_,"key_size",20);
multi_probe_level_ = get_param<int>(index_params_,"multi_probe_level",2);
table_number_ = get_param<unsigned>(index_params_,"table_number",12);
key_size_ = get_param<unsigned>(index_params_,"key_size",20);
multi_probe_level_ = get_param<unsigned>(index_params_,"multi_probe_level",2);
feature_size_ = (unsigned)dataset_.cols;
fill_xor_mask(0, key_size_, multi_probe_level_, xor_masks_);