Skip to content
GitLab
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
8aa67ecc
Commit
8aa67ecc
authored
Sep 17, 2021
by
Thomas Purcell
Browse files
See if these changes fix the errors
They don't show up on the docker image
parent
505f7d6f
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
8aa67ecc
...
...
@@ -63,14 +63,15 @@ if(EXTERNAL_BOOST)
message
(
STATUS
"Using external boost"
)
set
(
EXTERNAL_BOOST TRUE
)
else
(
EXTERNAL_BOOST
)
if
(
NOT DEFINED EXTERNAL_BUILD_N_PROCS
)
set
(
EXTERNAL_BUILD_N_PROCS 1 CACHE STRING
"Number of processes to use when building Boost"
)
endif
()
message
(
STATUS
"Building boost wth
${
EXTERNAL_BUILD_N_PROCS
}
process(es)"
)
include
(
ExternalProject
)
set
(
EXTERNAL_BOOST FALSE
)
endif
()
if
(
NOT DEFINED EXTERNAL_BUILD_N_PROCS
)
set
(
EXTERNAL_BUILD_N_PROCS 1 CACHE STRING
"Number of processes to use when building Boost"
)
endif
()
# Check for FindOpenMP
find_package
(
OpenMP REQUIRED
)
if
(
OPENMP_FOUND
)
...
...
src/feature_creation/node/value_storage/nodes_value_containers.cpp
View file @
8aa67ecc
...
...
@@ -180,6 +180,9 @@ void node_value_arrs::resize_values_arr(const int n_dims, const int n_feat)
{
N_PRIMARY_FEATURES
=
N_STORE_FEATURES
;
STANDARDIZED_STORAGE_ARR
=
std
::
vector
<
double
>
(
2
*
(
N_PRIMARY_FEATURES
+
1
)
*
N_SAMPLES
*
MAX_N_THREADS
);
STANDARDIZED_TEST_STORAGE_ARR
=
std
::
vector
<
double
>
(
2
*
(
N_PRIMARY_FEATURES
+
1
)
*
N_SAMPLES_TEST
*
MAX_N_THREADS
);
TEMP_STORAGE_ARR
.
resize
(
MAX_N_THREADS
*
(
N_OP_SLOTS
*
N_PRIMARY_FEATURES
+
1
)
*
N_SAMPLES
);
TEMP_STORAGE_ARR
.
shrink_to_fit
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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