backport 9018

This commit is contained in:
Vincent Rabaud
2012-07-12 16:04:51 +00:00
parent 185673e9e2
commit fbf1973bac

View File

@@ -193,7 +193,7 @@ public:
void add(Matrix<ElementType> dataset)
{
#if USE_UNORDERED_MAP
if (!use_speed_) buckets_space_.rehash((buckets_space_.size() + dataset.rows) * 1.2);
buckets_space_.rehash((buckets_space_.size() + dataset.rows) * 1.2);
#endif
// Add the features to the table
for (unsigned int i = 0; i < dataset.rows; ++i) add(i, dataset[i]);