Skip to content
Snippets Groups Projects
Commit 714664d1 authored by Thomas Purcell's avatar Thomas Purcell
Browse files

Don't reserve space for next_phi next

parent 4e18d8e8
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ void FeatureSpace::generate_feature_space() ...@@ -66,7 +66,7 @@ void FeatureSpace::generate_feature_space()
int feat_ind = _n_feat + node_value_arrs::get_max_number_features(_allowed_ops, 1, start_end[0]); int feat_ind = _n_feat + node_value_arrs::get_max_number_features(_allowed_ops, 1, start_end[0]);
next_phi.reserve(node_value_arrs::get_max_number_features(_allowed_ops, 1, start_end[1] - start_end[0])); // next_phi.reserve(node_value_arrs::get_max_number_features(_allowed_ops, 1, start_end[1] - start_end[0]));
for(auto feat_1 = _phi.begin() + start_end[0]; feat_1 != _phi.begin() + start_end[1]; ++feat_1) for(auto feat_1 = _phi.begin() + start_end[0]; feat_1 != _phi.begin() + start_end[1]; ++feat_1)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment