diff --git a/libs/sfm/cascade_hashing.h b/libs/sfm/cascade_hashing.h index 04833092..8b63cc1c 100644 --- a/libs/sfm/cascade_hashing.h +++ b/libs/sfm/cascade_hashing.h @@ -357,7 +357,7 @@ CascadeHashing::oneway_match (Matching::Options const& matching_opts, top_candidates.reserve(max_num_candidates); - std::unique_ptr tmp(new T[max_num_candidates * descriptor_length]); + std::unique_ptr tmp(new T[max_num_candidates * descriptor_length]); NearestNeighbor nn; nn.set_elements(tmp.get()); nn.set_element_dimensions(descriptor_length);