Commit fbf1973b authored by Vincent Rabaud's avatar Vincent Rabaud

backport 9018

parent 185673e9
...@@ -193,7 +193,7 @@ public: ...@@ -193,7 +193,7 @@ public:
void add(Matrix<ElementType> dataset) void add(Matrix<ElementType> dataset)
{ {
#if USE_UNORDERED_MAP #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 #endif
// Add the features to the table // Add the features to the table
for (unsigned int i = 0; i < dataset.rows; ++i) add(i, dataset[i]); for (unsigned int i = 0; i < dataset.rows; ++i) add(i, dataset[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment