Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
nomad-lab
cpp_sisso
Commits
ab138f72
Commit
ab138f72
authored
Sep 13, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/feature_creation/node/FeatureNode.cpp
View file @
ab138f72
...
...
@@ -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
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment