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

Check primary features not stored features in Constructor

Just in case someone finds their way around previous safegaruds
parent 57047dd3
No related branches found
No related tags found
No related merge requests found
Pipeline #109783 failed
......@@ -53,9 +53,9 @@ FeatureNode::FeatureNode(const unsigned long int feat_ind, const std::string exp
")"
);
}
else if(feat_ind >= node_value_arrs::N_STORE_FEATURES)
else if(feat_ind >= node_value_arrs::N_PRIMARY_FEATURES)
{
node_value_arrs::resize_values_arr(0, node_value_arrs::N_STORE_FEATURES + 1);
node_value_arrs::resize_values_arr(0, node_value_arrs::N_PRIMARY_FEATURES + 1);
}
set_value();
set_test_value();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment