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
Pipeline #109783 failed with stages
in 60 minutes and 10 seconds
......@@ -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();
......
Supports Markdown
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