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
91dd07d0
Commit
91dd07d0
authored
Sep 18, 2021
by
Thomas Purcell
Browse files
Remove print lines
cause failure in tests
parent
dfe34767
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpi_interface/MPI_Ops.cpp
View file @
91dd07d0
...
...
@@ -59,18 +59,6 @@ void mpi_reduce_op::set_op(std::string project_type, double cross_cor_max, int n
std
::
vector
<
node_sc_pair
>
mpi_reduce_op
::
select_top_feats
(
std
::
vector
<
node_sc_pair
>
in_vec_1
,
std
::
vector
<
node_sc_pair
>
in_vec_2
)
{
for
(
int
ff
=
0
;
ff
<
in_vec_1
.
size
();
++
ff
)
{
std
::
cout
<<
ff
<<
'\t'
<<
in_vec_1
[
ff
].
_feat
->
feat
(
0
)
->
arr_ind
()
<<
'\t'
<<
in_vec_1
[
ff
].
_feat
->
expr
()
<<
std
::
endl
;
}
std
::
cout
<<
std
::
endl
;
for
(
int
ff
=
0
;
ff
<
in_vec_2
.
size
();
++
ff
)
{
std
::
cout
<<
ff
<<
'\t'
<<
in_vec_2
[
ff
].
_feat
->
feat
(
0
)
->
arr_ind
()
<<
'\t'
<<
in_vec_2
[
ff
].
_feat
->
expr
()
<<
std
::
endl
;
}
std
::
cout
<<
std
::
endl
;
// Set up an output vector
std
::
vector
<
node_sc_pair
>
out_vec
;
out_vec
.
reserve
(
N_SIS_SELECT
);
...
...
@@ -92,11 +80,5 @@ std::vector<node_sc_pair> mpi_reduce_op::select_top_feats(std::vector<node_sc_pa
++
ff
;
}
for
(
int
ff
=
0
;
ff
<
out_vec
.
size
();
++
ff
)
{
std
::
cout
<<
ff
<<
'\t'
<<
out_vec
[
ff
].
_feat
->
feat
(
0
)
->
arr_ind
()
<<
'\t'
<<
out_vec
[
ff
].
_feat
->
expr
()
<<
std
::
endl
;
}
std
::
cout
<<
std
::
endl
;
return
out_vec
;
}
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