Skip to content

Commit e4f4d20

Browse files
committed
update input.cpp
1 parent 5bec618 commit e4f4d20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/input.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1804,6 +1804,7 @@ void Input::Default_2(void) // jiyy add 2019-08-04
18041804
}
18051805
}
18061806
if(calculation.substr(0,3) != "sto") bndpar = 1;
1807+
if(bndpar > GlobalV::NPROC) bndpar = GlobalV::NPROC;
18071808
}
18081809
#ifdef __MPI
18091810
void Input::Bcast()

0 commit comments

Comments
 (0)