Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit a91c619

Browse files
iomaganarispramodk
authored andcommitted
Fix printing of --gpu and --mpi CLI options values
1 parent 8734f4f commit a91c619

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coreneuron/apps/corenrn_parameters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ void corenrn_parameters::parse (int argc, char** argv) {
124124
std::ostream& operator<<(std::ostream& os, const corenrn_parameters& corenrn_param){
125125

126126
os << "GENERAL PARAMETERS" << std::endl
127-
<< "--mpi=" << (corenrn_param.gpu ? "true" : "false") << std::endl
128-
<< "--gpu=" << (corenrn_param.mpi_enable ? "true" : "false") << std::endl
127+
<< "--mpi=" << (corenrn_param.mpi_enable ? "true" : "false") << std::endl
128+
<< "--gpu=" << (corenrn_param.gpu ? "true" : "false") << std::endl
129129
<< "--dt=" << corenrn_param.dt << std::endl
130130
<< "--tstop=" << corenrn_param.tstop << std::endl
131131
<< std::endl

0 commit comments

Comments
 (0)